]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
pen.h depends from brush.h in compat mode
[wxWidgets.git] / src / mac / carbon / control.cpp
index 5b004c794a21f4b0405d3a9271837b14157573ba..f787ea9812d4227ae42c1fbd3a333826a45c2162 100644 (file)
@@ -78,7 +78,7 @@ bool wxControl::ProcessCommand( wxCommandEvent &event )
     // Tries:
     // 1) OnCommand, starting at this window and working up parent hierarchy
     // 2) OnCommand then calls ProcessEvent to search the event tables.
-    return GetEventHandler()->ProcessEvent( event );
+    return HandleWindowEvent( event );
 }
 
 void  wxControl::OnKeyDown( wxKeyEvent &WXUNUSED(event) )