1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

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

This commit is contained in:
Alessandro Ranellucci
2013-03-11 20:00:12 +01:00
parent 999af84c54
commit a5e6340004
+1 -1
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");