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/Field.cpp | |
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/Field.cpp')
-rw-r--r-- | src/slic3r/GUI/Field.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp index f143e8bc6..02fc9b8b6 100644 --- a/src/slic3r/GUI/Field.cpp +++ b/src/slic3r/GUI/Field.cpp @@ -7,6 +7,7 @@ #include <wx/tooltip.h> #include "PrintConfig.hpp" #include <boost/algorithm/string/predicate.hpp> +#include "GUI_App.hpp" namespace Slic3r { namespace GUI { @@ -707,7 +708,7 @@ void StaticText::BUILD() wxString legend(static_cast<const ConfigOptionString*>(m_opt.default_value)->value); auto temp = new wxStaticText(m_parent, wxID_ANY, legend, wxDefaultPosition, size); - temp->SetFont(bold_font()); + temp->SetFont(wxGetApp().bold_font()); // // recast as a wxWindow to fit the calling convention window = dynamic_cast<wxWindow*>(temp); |