]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
a warning suppressed (arg to MessageBeep is UINT)
[wxWidgets.git] / src / msw / frame.cpp
index 0f5da8a297eb42096a887377401a2712bcd77703..8616d1a2ae82fe2b349fc14817de89f44013d8a8 100644 (file)
@@ -920,7 +920,7 @@ void wxFrame::Command(int id)
 
 void wxFrame::ProcessCommand(int id)
 {
-  wxCommandEvent commandEvent(wxEVENT_TYPE_MENU_COMMAND, id);
+  wxCommandEvent commandEvent(wxEVT_COMMAND_MENU_SELECTED, id);
   commandEvent.SetInt( id );
   commandEvent.SetEventObject( this );