X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/mac/carbon/control.cpp 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) )