Workaround for HideRowLabels() missing in wxWidgets 2.8. #770

internal-support
Alessandro Ranellucci 2013-03-11 20:00:12 +01:00
parent 999af84c54
commit a5e6340004
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ sub new {
$sizer->Add($grid, 1, wxEXPAND | wxALL, 10);
$grid->CreateGrid(0, 3);
$grid->DisableDragRowSize;
$grid->HideRowLabels;
$grid->HideRowLabels if &Wx::wxVERSION_STRING !~ / 2\.8\./;
$grid->SetColLabelValue(0, "Min Z");
$grid->SetColLabelValue(1, "Max Z");
$grid->SetColLabelValue(2, "Layer height");