From: Robin Dunn Date: Wed, 19 May 1999 04:41:23 +0000 (+0000) Subject: fixed error about wxFrame::Command not returning a value X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/46499442ee90e45da35a42223330573cda3017d5 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 --- diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 36458bf83a..64e30f3e9b 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -73,7 +73,7 @@ public: virtual wxMenuBar *GetMenuBar() const; // 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 bool ProcessCommand(int id);