]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/control.mm
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / cocoa / control.mm
index 5447ea547064cb40038d235bf5e573be50e54564..afceba12cb097e4bc8be284f664ab7f8c7dd1664 100644 (file)
@@ -97,7 +97,7 @@ wxSize wxControl::DoGetBestSize() const
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 void wxControl::CocoaSetEnabled(bool enable)
 }
 
 void wxControl::CocoaSetEnabled(bool enable)