]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/pnghand.cpp
applied patch for compilation with gcc 3.0
[wxWidgets.git] / src / mac / pnghand.cpp
index 61344392716ac2244067b786d571a615d8c173e4..5e6840f40de65adaa188c54418af153a82f5cecb 100644 (file)
@@ -414,7 +414,8 @@ bool wxPNGReader::ReadFile(char * ImageFileName)
   wxPNGReaderIter iter(this);
 
   /* open the file */
-  fp = fopen(wxUnix2MacFilename( ImageFileName ), "rb");
+  fp = fopen( ImageFileName , "rb" );
+
   if (!fp)
     return FALSE;