Implemented updating of the settings values for PointCtrl and Choice.

* wx_EVT_KILL_FOCES doesn't handled on OSX, so values are updating on wx_EVT_TEXT like a temporary workaround.
This commit is contained in:
YuSanka 2018-12-18 13:22:22 +01:00
parent 66b5deccf5
commit 7d1fb201e7
4 changed files with 52 additions and 13 deletions

View file

@ -266,7 +266,6 @@ public:
}
boost::any& get_value() override;
bool is_defined_input_value() const ;
virtual void enable();
virtual void disable();
@ -395,6 +394,7 @@ public:
void BUILD() override;
void OnKillFocus(wxEvent& e, wxTextCtrl* win);
void set_value(const Vec2d& value, bool change_event = false);
void set_value(const boost::any& value, bool change_event = false);
boost::any& get_value() override;