X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ecf902bc836f2808444b34eff48cdb12f289460..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/imagtiff.h?ds=sidebyside diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index 4c1a68cd43..75bfe80a14 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGTIFF_H_ #define _WX_IMAGTIFF_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "imagtiff.h" -#endif - #include "wx/defs.h" //----------------------------------------------------------------------------- @@ -30,7 +26,7 @@ #define wxIMAGE_OPTION_COMPRESSION wxString(_T("Compression")) #define wxIMAGE_OPTION_IMAGEDESCRIPTOR wxString(_T("ImageDescriptor")) -class WXDLLEXPORT wxTIFFHandler: public wxImageHandler +class WXDLLIMPEXP_CORE wxTIFFHandler: public wxImageHandler { public: wxTIFFHandler(); @@ -38,8 +34,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 DoCanRead( wxInputStream& stream ); virtual int GetImageCount( wxInputStream& stream ); +protected: + virtual bool DoCanRead( wxInputStream& stream ); #endif private: