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:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user