From adbc621dcb7ba0590d2990f99585f40782daf4a0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 31 Jan 2005 22:08:33 +0000 Subject: [PATCH] replaced a weird (and wrong when wxUSE_STL == 1) test for string being empty with empty() call (patch 1089458) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/framecmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 017c25578c..995bf80b19 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -276,7 +276,7 @@ void wxFrameBase::OnMenuOpen(wxMenuEvent& WXUNUSED(event)) void wxFrameBase::OnMenuClose(wxMenuEvent& WXUNUSED(event)) { // do we have real status text to restore? - if ( m_oldStatusText.length() > 1 || m_oldStatusText[0u] ) + if ( !m_oldStatusText.empty() ) { if ( m_statusBarPane >= 0 ) { -- 2.45.2