mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-11 03:32:24 +00:00
Fixed msw_scale() for Infill field
This commit is contained in:
1 parent
fc3aa61dc4
commit
52e6050698
1 file changed
+1
-2
@@ -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