X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..bbd8f8af4925123462d37c6fe9fcbd971c55c2f5:/include/wx/imagpnm.h diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 6f25e9d027..8cd3f9f884 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -17,7 +17,7 @@ //----------------------------------------------------------------------------- #if wxUSE_PNM -class WXDLLEXPORT wxPNMHandler : public wxImageHandler +class WXDLLIMPEXP_CORE wxPNMHandler : public wxImageHandler { public: inline wxPNMHandler() @@ -31,6 +31,7 @@ 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 ); +protected: virtual bool DoCanRead( wxInputStream& stream ); #endif