diff options
author | YuSanka <yusanka@gmail.com> | 2019-03-07 18:21:56 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-03-07 18:21:56 +0300 |
commit | 0ec718a51022e35ba25131ec67300b02800b471d (patch) | |
tree | 6ee32a5e38b737dfff0d03529d0a62607d0ef2a6 /src/slic3r/GUI/Field.hpp | |
parent | ef3482a427d2b2fdf7ab738102a5a5abc457d27e (diff) |
All wxComboBoxes are changed to the wxBitmapComboBoxes
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r-- | src/slic3r/GUI/Field.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Field.hpp b/src/slic3r/GUI/Field.hpp index 8391a111b..457807afa 100644 --- a/src/slic3r/GUI/Field.hpp +++ b/src/slic3r/GUI/Field.hpp @@ -11,6 +11,7 @@ #include <boost/any.hpp> #include <wx/spinctrl.h> +#include <wx/bmpcbox.h> #include <wx/clrpicker.h> #include "libslic3r/libslic3r.h" @@ -357,8 +358,8 @@ public: void set_values(const std::vector<std::string> &values); boost::any& get_value() override; - void enable() override { dynamic_cast<wxComboBox*>(window)->Enable(); }; - void disable() override{ dynamic_cast<wxComboBox*>(window)->Disable(); }; + void enable() override { dynamic_cast<wxBitmapComboBox*>(window)->Enable(); }; + void disable() override{ dynamic_cast<wxBitmapComboBox*>(window)->Disable(); }; wxWindow* getWindow() override { return window; } }; |