]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/control.mm
Document wxDateTime::GregorianAdoption enum and TimeZone class.
[wxWidgets.git] / src / cocoa / control.mm
index 5447ea547064cb40038d235bf5e573be50e54564..0843809c89649ca5c086397d141257e76aa7ec68 100644 (file)
@@ -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)