mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
This commit is contained in:
parent
fc63a28481
commit
3b9803ba6e
8 changed files with 54 additions and 23 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue