X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ecf902bc836f2808444b34eff48cdb12f289460..5410f5728d75f905375c2b05944b11fc92a74aa4:/include/wx/xpmdecod.h diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index e4663a5b8f..96cdab7732 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -10,12 +10,9 @@ #ifndef _WX_XPMDECOD_H_ #define _WX_XPMDECOD_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xpmdecod.h" -#endif - #include "wx/defs.h" +#if wxUSE_IMAGE && wxUSE_XPM class WXDLLIMPEXP_CORE wxImage; class WXDLLIMPEXP_BASE wxInputStream; @@ -38,9 +35,10 @@ public: wxImage ReadFile(wxInputStream& stream); #endif // Read directly from XPM data (as passed to wxBitmap ctor): - wxImage ReadData(const char **xpm_data); + wxImage ReadData(const char* const* xpm_data); }; +#endif // wxUSE_IMAGE && wxUSE_XPM -#endif // _WX_GIFDECOD_H_ +#endif // _WX_XPM_H_