]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/control.mm
Fix install_name_tool calls in OS X "make install".
[wxWidgets.git] / src / cocoa / control.mm
index 5447ea547064cb40038d235bf5e573be50e54564..32ff222d2567869f4fbcebd0dc7aeb03400dd1eb 100644 (file)
@@ -4,9 +4,8 @@
 // Author:      David Elliiott
 // Modified by:
 // Created:     2003/02/15
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -97,7 +96,7 @@ wxSize wxControl::DoGetBestSize() const
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 void wxControl::CocoaSetEnabled(bool enable)