X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ba48855e2074b14bc771504dcbac501ae0de5f..41d0b41d6873cb50b7b025beb0cf9476d680004c:/src/cocoa/control.mm diff --git a/src/cocoa/control.mm b/src/cocoa/control.mm index 5447ea5470..afceba12cb 100644 --- a/src/cocoa/control.mm +++ b/src/cocoa/control.mm @@ -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)