X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52f96deca1baa3c5ac50eb1c22481ae21cb941fc..ff1865910312d960737474a75a77737d5ce94864:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index adfce58b9c..4c145b247d 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -185,10 +185,12 @@ public: void SetMask( bool mask = TRUE ); bool HasMask() const; +#if wxUSE_PALETTE // Palette functions bool HasPalette() const; const wxPalette& GetPalette() const; void SetPalette(const wxPalette& palette); +#endif // wxUSE_PALETTE // Option functions (arbitrary name/value mapping) void SetOption(const wxString& name, const wxString& value);