]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
don't call wxLogLastError() in wx{File|Path}Exists
[wxWidgets.git] / src / common / filename.cpp
index ffffe53275f47ba31992c84db2102f12764da4f1..7dc9c0a1962302872c89978e80202f4313576a79 100644 (file)
@@ -1742,8 +1742,9 @@ bool wxFileName::MacSetDefaultTypeAndCreator()
     if ( wxFileName::MacFindDefaultTypeAndCreator(GetExt() , &type ,
       &creator ) )
     {
-      MacSetTypeAndCreator( type , creator ) ;
-    }  
+        return MacSetTypeAndCreator( type , creator ) ;
+    }
+    return false;
 }
 
 bool wxFileName::MacFindDefaultTypeAndCreator( const wxString& ext , wxUint32 *type , wxUint32 *creator )