X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..25eb10d2e119b278be3ff51b3c96c297cc3ac6ef:/include/wx/xpmdecod.h diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index b3d0b0b140..96cdab7732 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -12,6 +12,7 @@ #include "wx/defs.h" +#if wxUSE_IMAGE && wxUSE_XPM class WXDLLIMPEXP_CORE wxImage; class WXDLLIMPEXP_BASE wxInputStream; @@ -34,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_