From fef0a330e98471b5a56b8fea33a6ed01e916583d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Apr 2007 11:27:53 +0000 Subject: [PATCH] removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 19a148224f..300c0317ed 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -1004,7 +1004,7 @@ bool wxFrame::HandleMenuSelect(WXWORD nItem, WXWORD flags, WXHMENU hMenu) // items opening popup menus (they don't have them anyhow) but do clear // the status line - otherwise, we would be left with the help message // for the previous item which doesn't apply any more - DoGiveHelp(wxEmptyString, false); + DoGiveHelp(wxEmptyString); return false; } -- 2.45.2