]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/pnghand.cpp
changes to match listctrl.h changes (forgot to commit yesterday, sorry)
[wxWidgets.git] / src / mac / pnghand.cpp
index 90b59669f0f9b09db8a669a73ea599adb3d5e940..193676f19550ea1cc0224d8b51427e66e0de8ec3 100644 (file)
@@ -31,7 +31,7 @@
 #   include <fstream>
 #endif
 
-#ifndef __WXMAC_X__
+#ifndef __DARWIN__
 #  include <windows.h>
 #endif
 #include "wx/msgdlg.h"
@@ -823,7 +823,7 @@ bool wxPNGReader::SaveXPM(char *filename, char *name)
     if ( !GetPalette() )
         return FALSE;
 
-    ofstream str(filename);
+    wxSTD ofstream str(filename);
     if ( str.bad() )
         return FALSE;