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
This commit is contained in:
Vadim Zeitlin
2005-01-31 22:08:33 +00:00
parent ab24d4425a
commit adbc621dcb

View File

@@ -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 )
{