Changed Command to ProcessCommand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
{
|
||||
wxFrame *frame = menubar->GetFrame();
|
||||
wxCHECK_RET(frame, "wxMenuBar MUST be attached to a wxFrame!");
|
||||
frame->Command(item->GetId());
|
||||
frame->ProcessCommand(item->GetId());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user