mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Workaround for HideRowLabels() missing in wxWidgets 2.8. #770
This commit is contained in:
@@ -108,7 +108,7 @@ sub new {
|
|||||||
$sizer->Add($grid, 1, wxEXPAND | wxALL, 10);
|
$sizer->Add($grid, 1, wxEXPAND | wxALL, 10);
|
||||||
$grid->CreateGrid(0, 3);
|
$grid->CreateGrid(0, 3);
|
||||||
$grid->DisableDragRowSize;
|
$grid->DisableDragRowSize;
|
||||||
$grid->HideRowLabels;
|
$grid->HideRowLabels if &Wx::wxVERSION_STRING !~ / 2\.8\./;
|
||||||
$grid->SetColLabelValue(0, "Min Z");
|
$grid->SetColLabelValue(0, "Min Z");
|
||||||
$grid->SetColLabelValue(1, "Max Z");
|
$grid->SetColLabelValue(1, "Max Z");
|
||||||
$grid->SetColLabelValue(2, "Layer height");
|
$grid->SetColLabelValue(2, "Layer height");
|
||||||
|
|||||||
Reference in New Issue
Block a user