OSX: Forced set the input value for SpinControl,
since the value inserted from the clipboard is not updated
This commit is contained in:
parent
6373ee2b85
commit
046466164f
@ -505,6 +505,11 @@ void SpinCtrl::BUILD() {
|
||||
else tmp_value = -9999;
|
||||
#ifdef __WXOSX__
|
||||
propagate_value();
|
||||
|
||||
// Forcibly set the input value for SpinControl, since the value
|
||||
// inserted from the clipboard is not updated under OSX
|
||||
if (tmp_value > -9999)
|
||||
dynamic_cast<wxSpinCtrl*>(window)->SetValue(tmp_value);
|
||||
#endif
|
||||
}), temp->GetId());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user