From cf5d7499adfb454ddbdb284cbe50b135348f4487 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 19 Jan 2003 15:27:29 +0000 Subject: [PATCH] Changed return type of fireItem to void. --- src/GUI/menubar.cxx | 2 +- src/GUI/menubar.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/menubar.cxx b/src/GUI/menubar.cxx index ca23a721e..f9fbbe0bb 100644 --- a/src/GUI/menubar.cxx +++ b/src/GUI/menubar.cxx @@ -324,7 +324,7 @@ FGMenuBar::isVisible () const return _visible; } -bool +void FGMenuBar::fireItem (puObject * item) { const char * name = item->getLegend(); diff --git a/src/GUI/menubar.hxx b/src/GUI/menubar.hxx index 9c3929e69..4dabf20c7 100644 --- a/src/GUI/menubar.hxx +++ b/src/GUI/menubar.hxx @@ -72,7 +72,7 @@ public: * have to know about PUI internals, but this method allows the * callback to pass the menu item one-shot on to the current menu. */ - virtual bool fireItem (puObject * item); + virtual void fireItem (puObject * item); private: -- 2.39.5