]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
missing commit
[wxWidgets.git] / src / motif / menuitem.cpp
index 1f770c0f69e89fe770730ae1d6dcbfe45d4a628f..76b337eb4c87dc318046ff749a88bc677418db64 100644 (file)
@@ -338,7 +338,7 @@ void wxMenuItemCallback (Widget WXUNUSED(w), XtPointer clientData,
     wxMenuItem *item = (wxMenuItem *) clientData;
     if (item)
     {
-        wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, item->GetId());
+        wxCommandEvent event(wxEVT_MENU, item->GetId());
         event.SetInt( item->GetId() );
 
         if (item->IsCheckable())