X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa36fe3680d7bdf55a54885444972368fe5edfe6..c8b1fdc0b52fbc0ce71ab54b4b8954643f788f2a:/include/wx/frame.h?ds=sidebyside diff --git a/include/wx/frame.h b/include/wx/frame.h index a9134b0a26..6740046652 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -170,8 +170,9 @@ public: #if wxUSE_MENUS || wxUSE_TOOLBAR // show help text for the currently selected menu or toolbar item - // (typically in the status bar) - virtual void DoGiveHelp(const wxString& text); + // (typically in the status bar) or hide it and restore the status bar text + // originally shown before the menu was opened if show == false + virtual void DoGiveHelp(const wxString& text, bool show); #endif protected: