X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..60913641356f364a5efee5966d3a3b0b48c01001:/include/wx/imagpnm.h?ds=inline 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