]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
fixing 10.5 only compiles
[wxWidgets.git] / src / os2 / control.cpp
index 63650453c83fcb8ac3223a65a0bbb786199b900a..2b425b0e447883ac3abd3476c115f88ec0407549 100644 (file)
@@ -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,