diff options
author | YuSanka <yusanka@gmail.com> | 2018-10-01 16:09:31 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-10-01 17:31:36 +0300 |
commit | 08c69057516dfb90a83ec17099c545748855dbc8 (patch) | |
tree | 789eb4c7f73883d47b94b50c8baab0c7e61029ec /src/slic3r/GUI/OptionsGroup.hpp | |
parent | 342b584399cb14d648599bd7e950ac87bff6f9b1 (diff) |
Moved functions and variables (for fonts and labels color) to GUI_App
+ corrected Sidebar layouts
+ deleted get_preset_bundle
+ actions with tabs_list moved to GUI_App
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.hpp')
-rw-r--r-- | src/slic3r/GUI/OptionsGroup.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp index 4941e5453..3e196f70c 100644 --- a/src/slic3r/GUI/OptionsGroup.hpp +++ b/src/slic3r/GUI/OptionsGroup.hpp @@ -14,6 +14,7 @@ #include "libslic3r/libslic3r.h" #include "Field.hpp" +#include "GUI_App.hpp" // Translate the ifdef #ifdef __WXOSX__ @@ -163,7 +164,7 @@ public: staticbox(title!=""), m_flag(flag), extra_column(extra_clmn){ if (staticbox) { stb = new wxStaticBox(_parent, wxID_ANY, title); - stb->SetFont(bold_font()); + stb->SetFont(wxGetApp().bold_font()); } sizer = (staticbox ? new wxStaticBoxSizer(stb, wxVERTICAL) : new wxBoxSizer(wxVERTICAL)); auto num_columns = 1U; |