]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing iterator use
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 07:18:25 +0000 (07:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 07:18:25 +0000 (07:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/app.cpp

index 7e03354c972efe3817f18259801ff0ebb7202226..979b75e944386ab6247a30f282e89520e6c221d4 100644 (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() ;
     }