]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
Fixed wxMessageBox with only an OK button returning wxCANCEL under MSW.
[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