]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed error about wxFrame::Command not returning a value
authorRobin Dunn <robin@alldunn.com>
Wed, 19 May 1999 04:41:23 +0000 (04:41 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 19 May 1999 04:41:23 +0000 (04:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/frame.h

index 36458bf83a49dc41367727408fcebe0017bc6491..64e30f3e9b0e05e53785fdde5cf5f9a9d5a3b093 100644 (file)
@@ -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);