# include <fstream>
#endif
-#ifndef __WXMAC_X__
+#ifndef __DARWIN__
# include <windows.h>
#endif
#include "wx/msgdlg.h"
if ( !GetPalette() )
return FALSE;
- ofstream str(filename);
+ wxSTD ofstream str(filename);
if ( str.bad() )
return FALSE;
return FALSE;
}
-bool wxPNGFileHandler::SaveFile(wxBitmap *bitmap, const wxString& name, int type, const wxPalette *pal)
+bool wxPNGFileHandler::SaveFile(const wxBitmap *bitmap, const wxString& name, int type, const wxPalette *pal)
{
return FALSE;
}