]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/textctrl.mm
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / cocoa / textctrl.mm
index 67da0acd68d466a29d081663365397647e3c17cc..d33626cd18fa0c209d0fd2cdcf09a21b083de60b 100644 (file)
@@ -102,7 +102,7 @@ void wxTextCtrl::CocoaTarget_action(void)
     //event.SetString(GetValue());
 
     event.SetEventObject(this);
-    GetEventHandler()->ProcessEvent(event);
+    HandleWindowEvent(event);
 }
 
 void wxTextCtrl::AppendText(wxString const&)