X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65f3f920ba3601249efdd84efc1a9299d80d1b4f..8b534a7bb0dbf082a1dd4888bc9acfb24ac1e3cc:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 63650453c8..2b425b0e44 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -184,7 +184,7 @@ wxSize wxControl::DoGetBestSize() const bool wxControl::ProcessCommand(wxCommandEvent& event) { - return GetEventHandler()->ProcessEvent(event); + return HandleWindowEvent(event); } WXHBRUSH wxControl::OnCtlColor(WXHDC hWxDC,