From 4b1d0dbe255a17eb4c157bade4dbd5f6a9be4d26 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 16 Mar 2011 07:18:25 +0000 Subject: [PATCH] fixing iterator use git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index 7e03354c97..979b75e944 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -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() ; } -- 2.45.2