]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/control.cpp
Set the object for context menu events.
[wxWidgets.git] / src / palmos / control.cpp
index 2211ff15370a6447041051778c892a1187cc31f8..89c50c48acf93a98173f85d233cdb687c4d51f91 100644 (file)
@@ -501,7 +501,7 @@ wxControl::GetCompositeControlsDefaultAttributes(wxWindowVariant WXUNUSED(varian
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
-    return GetEventHandler()->ProcessEvent(event);
+    return HandleWindowEvent(event);
 }
 
 void wxControl::OnEraseBackground(wxEraseEvent& event)