]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/pnghand.cpp
added generic dir dlg
[wxWidgets.git] / src / mac / carbon / pnghand.cpp
index 61344392716ac2244067b786d571a615d8c173e4..af7b3a6f99719184168f9d3936b24f9dfcdf1d0f 100644 (file)
@@ -414,7 +414,11 @@ bool wxPNGReader::ReadFile(char * ImageFileName)
   wxPNGReaderIter iter(this);
 
   /* open the file */
+#ifndef __UNIX__
   fp = fopen(wxUnix2MacFilename( ImageFileName ), "rb");
+#else
+  fp = fopen( ImageFileName , "rb" );
+#endif
   if (!fp)
     return FALSE;