X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f686c274a264e89ea97505350a82c1134f307..b82827dd43caa489eade15cc02edef7fb79e8c20:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index cb90171636..6809100b60 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -413,7 +413,7 @@ wxString wxMenu::GetLabel(int id) const bool wxMenu::MSWCommand(WXUINT WXUNUSED(param), WXWORD id) { - wxCommandEvent event(wxEVENT_TYPE_MENU_COMMAND); + wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED); event.SetEventObject( this ); event.SetId( id ); event.SetInt( id );