X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ba48855e2074b14bc771504dcbac501ae0de5f..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/cocoa/control.mm?ds=sidebyside

diff --git a/src/cocoa/control.mm b/src/cocoa/control.mm
index 5447ea5470..0843809c89 100644
--- a/src/cocoa/control.mm
+++ b/src/cocoa/control.mm
@@ -6,7 +6,7 @@
 // Created:     2003/02/15
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -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)