From 6af350d42843dcf2c8f600302d15af03a2ce72c1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 30 Mar 2007 20:06:52 +0000 Subject: [PATCH] clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/framecmn.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index b0ad197a09..a4e9d210b0 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -447,6 +447,9 @@ void wxFrameBase::DoGiveHelp(const wxString& text, bool show) { // i.e. restore the old one help = m_oldStatusText; + + // make sure we get the up to date text when showing it the next time + m_oldStatusText.clear(); } statbar->SetStatusText(help, m_statusBarPane); -- 2.50.0