X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..a6f2417d81dee60b80250e3ecb2590514d256ca5:/include/wx/imagpnm.h diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 2d1222ed3b..8cd3f9f884 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGPNM_H_ #define _WX_IMAGPNM_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "imagpnm.h" -#endif - #include "wx/image.h" //----------------------------------------------------------------------------- @@ -21,7 +17,7 @@ //----------------------------------------------------------------------------- #if wxUSE_PNM -class WXDLLEXPORT wxPNMHandler : public wxImageHandler +class WXDLLIMPEXP_CORE wxPNMHandler : public wxImageHandler { public: inline wxPNMHandler() @@ -33,8 +29,9 @@ 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 ); +protected: virtual bool DoCanRead( wxInputStream& stream ); #endif