]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/control.mm
osx regrouping
[wxWidgets.git] / src / cocoa / control.mm
index 5447ea547064cb40038d235bf5e573be50e54564..afceba12cb097e4bc8be284f664ab7f8c7dd1664 100644 (file)
@@ -97,7 +97,7 @@ wxSize wxControl::DoGetBestSize() const
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 void wxControl::CocoaSetEnabled(bool enable)