X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..c26dba42b75b2c19df5834417ffbe330bc375b20:/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) ;