X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/884215788fcb7a3364ff6e1494c5da90fb2721bf..a6de86fa530d95b6f30e0349e81de8b8692b348f:/include/wx/mac/bitmap.h diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index 759cccfe1b..a8e2439362 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -86,7 +86,9 @@ public: int m_depth; bool m_ok; int m_numColors; +#if wxUSE_PALETTE wxPalette m_bitmapPalette; +#endif // wxUSE_PALETTE int m_quality; int m_bitmapType ; @@ -186,8 +188,10 @@ public: void SetQuality(int q); void SetOk(bool isOk); - wxPalette* GetPalette() const; - void SetPalette(const wxPalette& palette); +#if wxUSE_PALETTE + wxPalette* GetPalette() const; + void SetPalette(const wxPalette& palette); +#endif // wxUSE_PALETTE wxMask *GetMask() const; void SetMask(wxMask *mask) ;