Fixes for WXWIN_COMPATIBILITY, and BC++ fix for event.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user