X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/293d3988da067efcdef968ceead0f74c65b2778c..9d4ca3aa8f594848a8f68140b25ec86549e12e98:/src/mac/pnghand.cpp diff --git a/src/mac/pnghand.cpp b/src/mac/pnghand.cpp index 90b59669f0..193676f195 100644 --- a/src/mac/pnghand.cpp +++ b/src/mac/pnghand.cpp @@ -31,7 +31,7 @@ # include #endif -#ifndef __WXMAC_X__ +#ifndef __DARWIN__ # include #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;