Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-03-07 18:21:56 +0300
committerYuSanka <yusanka@gmail.com>2019-03-07 18:21:56 +0300
commit0ec718a51022e35ba25131ec67300b02800b471d (patch)
tree6ee32a5e38b737dfff0d03529d0a62607d0ef2a6 /src/slic3r/GUI/Field.hpp
parentef3482a427d2b2fdf7ab738102a5a5abc457d27e (diff)
All wxComboBoxes are changed to the wxBitmapComboBoxes
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r--src/slic3r/GUI/Field.hpp5
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; }
};