mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
This commit is contained in:
@@ -846,7 +846,7 @@ void Choice::rescale()
|
||||
|
||||
wxBitmapComboBox* field = dynamic_cast<wxBitmapComboBox*>(window);
|
||||
|
||||
const wxString selection = field->GetStringSelection();
|
||||
const wxString selection = field->GetString(field->GetSelection());
|
||||
|
||||
/* To correct scaling (set new controll size) of a wxBitmapCombobox
|
||||
* we need to refill control with new bitmaps. So, in our case :
|
||||
|
||||
Reference in New Issue
Block a user