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 [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user