diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-04-05 19:53:02 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-04-09 16:16:10 +0300 |
commit | 2494dc6706427dc2508f45f36ac66068aedee45a (patch) | |
tree | 7edb0fd768751066f9ffb046a1291e4e9b528b2e /src/slic3r/GUI/GUI_ObjectSettings.cpp | |
parent | d97037e24624b83053b27b6d70ab8fd71f232e33 (diff) |
Fix SVG & bitmap scaling on Mac depending on Retina scaling
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectSettings.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectSettings.cpp b/src/slic3r/GUI/GUI_ObjectSettings.cpp index b1f33eea1..f1e326caf 100644 --- a/src/slic3r/GUI/GUI_ObjectSettings.cpp +++ b/src/slic3r/GUI/GUI_ObjectSettings.cpp @@ -77,7 +77,7 @@ void ObjectSettings::update_settings_list() { auto opt_key = (line.get_options())[0].opt_id; //we assume that we have one option per line - auto btn = new wxBitmapButton(parent, wxID_ANY, create_scaled_bitmap("colorchange_delete_on.png"), + auto btn = new wxBitmapButton(parent, wxID_ANY, create_scaled_bitmap(m_parent, "colorchange_delete_on.png"), wxDefaultPosition, wxDefaultSize, wxBORDER_NONE); #ifdef __WXMSW__ btn->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); |