mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fixed msw_scale() for Infill field
This commit is contained in:
@@ -1118,8 +1118,7 @@ void Choice::msw_rescale(bool rescale_sidetext/* = false*/)
|
|||||||
Field::msw_rescale();
|
Field::msw_rescale();
|
||||||
|
|
||||||
wxBitmapComboBox* field = dynamic_cast<wxBitmapComboBox*>(window);
|
wxBitmapComboBox* field = dynamic_cast<wxBitmapComboBox*>(window);
|
||||||
|
const wxString selection = field->GetValue();// field->GetString(index);
|
||||||
const wxString selection = field->GetString(field->GetSelection());
|
|
||||||
|
|
||||||
/* To correct scaling (set new controll size) of a wxBitmapCombobox
|
/* To correct scaling (set new controll size) of a wxBitmapCombobox
|
||||||
* we need to refill control with new bitmaps. So, in our case :
|
* we need to refill control with new bitmaps. So, in our case :
|
||||||
|
|||||||
Reference in New Issue
Block a user