X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..4813bb8d72d4e6821e031f2b19baaa338b714d39:/src/mac/carbon/control.cpp?ds=sidebyside diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 5b004c794a..f787ea9812 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -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) )