First try to fix bug with CheckBox selection if cursor is in SpinCtrl.

This commit is contained in:
YuSanka 2018-04-04 20:37:37 +02:00
parent e7edb512b8
commit 2eee3a64b7

View File

@ -207,7 +207,7 @@ public:
m_disable_change_event = false;
}
boost::any get_value() override {
return boost::any(dynamic_cast<wxSpinCtrl*>(window)->GetValue());
return boost::any(tmp_value);
}
void enable() override { dynamic_cast<wxSpinCtrl*>(window)->Enable(); }