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:
David Elliott
2003-11-06 18:14:39 +00:00
parent aa6f64c7d8
commit 7424a6375b

View File

@@ -65,7 +65,7 @@
{ {
wxFrame *frame = menubar->GetFrame(); wxFrame *frame = menubar->GetFrame();
wxCHECK_RET(frame, "wxMenuBar MUST be attached to a wxFrame!"); wxCHECK_RET(frame, "wxMenuBar MUST be attached to a wxFrame!");
frame->Command(item->GetId()); frame->ProcessCommand(item->GetId());
} }
} }