From 46499442ee90e45da35a42223330573cda3017d5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 19 May 1999 04:41:23 +0000 Subject: [PATCH] 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 --- include/wx/msw/frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2