From a5e634000431fdaad2aab5e5d4729561d065887d Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 11 Mar 2013 20:00:12 +0100 Subject: [PATCH] Workaround for HideRowLabels() missing in wxWidgets 2.8. #770 --- lib/Slic3r/GUI/Plater/ObjectDialog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater/ObjectDialog.pm b/lib/Slic3r/GUI/Plater/ObjectDialog.pm index 82da6beb..c0ba45c1 100644 --- a/lib/Slic3r/GUI/Plater/ObjectDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectDialog.pm @@ -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");