]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp...
[wxWidgets.git] / src / motif / control.cpp
index 3d6cdf909c23b09509f3e5433918b363cb093933..0924e49ef4385d181b3db6f0263a15f08cd50f0c 100644 (file)
@@ -102,7 +102,7 @@ wxString wxControl::GetLabel() const
 
 bool wxControl::ProcessCommand(wxCommandEvent & event)
 {
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 wxSize wxControl::DoGetBestSize() const