fixing iterator use

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-03-16 07:18:25 +00:00
parent 616c7cbd92
commit 4b1d0dbe25

View File

@@ -336,7 +336,7 @@ void wxApp::MacReopenApp()
// if some windows are not hidden -> do nothing
wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst();
if ( node == NULL )
if ( !node )
{
MacNewFile() ;
}