X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7beb59f36c016d27cf8949eb8c0d38fc63ad536a..1df57a24e5f638a812c7099e1bb2822fabba248c:/include/wx/imagxpm.h diff --git a/include/wx/imagxpm.h b/include/wx/imagxpm.h index 10a12c62ac..46903ea921 100644 --- a/include/wx/imagxpm.h +++ b/include/wx/imagxpm.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: imaggif.h +// Name: wx/imagxpm.h // Purpose: wxImage XPM handler // Author: Vaclav Slavik // RCS-ID: $Id$ @@ -10,18 +10,15 @@ #ifndef _WX_IMAGXPM_H_ #define _WX_IMAGXPM_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "imagxpm.h" -#endif - #include "wx/image.h" +#if wxUSE_XPM //----------------------------------------------------------------------------- // wxXPMHandler //----------------------------------------------------------------------------- -class WXDLLEXPORT wxXPMHandler : public wxImageHandler +class WXDLLIMPEXP_CORE wxXPMHandler : public wxImageHandler { public: inline wxXPMHandler() @@ -35,6 +32,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 @@ -42,7 +40,6 @@ private: DECLARE_DYNAMIC_CLASS(wxXPMHandler) }; +#endif // wxUSE_XPM -#endif - // _WX_IMAGXPM_H_ - +#endif // _WX_IMAGXPM_H_