Some improvements

This commit is contained in:
YuSanka 2019-03-07 16:36:39 +01:00
parent 99e43d6b24
commit b382ad1ffb
6 changed files with 43 additions and 24 deletions

View file

@ -352,6 +352,11 @@ public:
wxWindow* window{ nullptr };
void BUILD() override;
/* Under OSX: wxBitmapComboBox->GetWindowStyle() returns some weard value,
* so let use a flag, which has TRUE value for a control without wxCB_READONLY style
*/
bool m_is_editable { false };
void set_selection();
void set_value(const std::string& value, bool change_event = false);
void set_value(const boost::any& value, bool change_event = false);