X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fa8508d0c6343d11178758f00fa68ae00721809..d109c5849ed117966311a44875c97ae3d77b44e5:/src/mac/carbon/spinctrl.cpp?ds=inline diff --git a/src/mac/carbon/spinctrl.cpp b/src/mac/carbon/spinctrl.cpp index 2a2b77c91d..5db84619e4 100644 --- a/src/mac/carbon/spinctrl.cpp +++ b/src/mac/carbon/spinctrl.cpp @@ -54,6 +54,13 @@ protected: if ( m_spin->GetTextValue(&val) ) { m_spin->GetSpinButton()->SetValue(val); + + // Send event that the text was manually changed + wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, m_spin->GetId()); + event.SetEventObject(m_spin); + event.SetInt(val); + + m_spin->GetEventHandler()->ProcessEvent(event); } event.Skip();