From 3ccfe7f53e9fea7215f06a365f2cfc882691bcef Mon Sep 17 00:00:00 2001 From: YuSanka Date: Thu, 21 Feb 2019 11:43:34 +0100 Subject: [PATCH] Fixed OSX-build --- src/slic3r/GUI/GUI_ObjectManipulation.cpp | 2 +- src/slic3r/GUI/Tab.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index f94d68147..5afd7ae59 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -44,7 +44,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) : def.label = L("Name"); def.gui_type = "legend"; def.tooltip = L("Object name"); - def.width = 200; + def.width = 21 * wxGetApp().em_unit(); def.default_value = new ConfigOptionString{ " " }; m_og->append_single_option_line(Option(def, "object_name")); diff --git a/src/slic3r/GUI/Tab.hpp b/src/slic3r/GUI/Tab.hpp index 135420edb..430caaf0e 100644 --- a/src/slic3r/GUI/Tab.hpp +++ b/src/slic3r/GUI/Tab.hpp @@ -204,7 +204,7 @@ protected: void set_type(); int m_em_unit; - std::set m_dirty_options = {}; + std::set m_dirty_options; public: PresetBundle* m_preset_bundle;