]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
don't translate Win32 structured exceptions into C++ ones (requires always using...
[wxWidgets.git] / src / common / framecmn.cpp
index 017c25578c2bb6b9a0a6d020caccf218d352ba6f..995bf80b194e3087a4d181acb4278604817fb49c 100644 (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 )
         {