From: Julian Smart Date: Wed, 18 Jan 2006 09:55:40 +0000 (+0000) Subject: Applied patch [ 1312729 ] fix for wxMac Carbon spin control on EVT_TEXT emitter X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4a99d87f2c19020173dffe91d62a11d37b8f860f Applied patch [ 1312729 ] fix for wxMac Carbon spin control on EVT_TEXT emitter git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/spinctrl.cpp b/src/mac/carbon/spinctrl.cpp index bbdee58bbf..70b6845265 100644 --- a/src/mac/carbon/spinctrl.cpp +++ b/src/mac/carbon/spinctrl.cpp @@ -63,6 +63,7 @@ protected: // Send event that the text was manually changed wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, m_spin->GetId()); event.SetEventObject(m_spin); + event.SetString(m_spin->GetText()->GetValue()); event.SetInt(val); m_spin->GetEventHandler()->ProcessEvent(event);