X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..682214d5c6ec3e56dbdfd0c97d70d87e614b38c2:/include/wx/imagpnm.h diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 12f184f587..3fbb32a14e 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGPNM_H_ #define _WX_IMAGPNM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagpnm.h" #endif @@ -33,8 +33,8 @@ public: } #if wxUSE_STREAMS - virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 ); - virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE ); + virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 ); + virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true ); virtual bool DoCanRead( wxInputStream& stream ); #endif