fixed error about wxFrame::Command not returning a value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,7 +73,7 @@ public:
|
|||||||
virtual wxMenuBar *GetMenuBar() const;
|
virtual wxMenuBar *GetMenuBar() const;
|
||||||
|
|
||||||
// Call this to simulate a menu command
|
// Call this to simulate a menu command
|
||||||
bool Command(int id) { ProcessCommand(id); }
|
bool Command(int id) { return ProcessCommand(id); }
|
||||||
|
|
||||||
// process menu command: returns TRUE if processed
|
// process menu command: returns TRUE if processed
|
||||||
bool ProcessCommand(int id);
|
bool ProcessCommand(int id);
|
||||||
|
Reference in New Issue
Block a user