]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 1312729 ] fix for wxMac Carbon spin control on EVT_TEXT emitter
authorJulian Smart <julian@anthemion.co.uk>
Wed, 18 Jan 2006 09:55:40 +0000 (09:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 18 Jan 2006 09:55:40 +0000 (09:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/spinctrl.cpp

index bbdee58bbf5492ed3f928e2c7a9b51ffa3e74ea8..70b684526546176a655a1411e16d8dae08e891fe 100644 (file)
@@ -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);