mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
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:
parent
66b5deccf5
commit
7d1fb201e7
4 changed files with 52 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue