support for wxUSE_PALETTE = 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-03-04 16:16:58 +00:00
parent 884215788f
commit a6de86fa53
3 changed files with 16 additions and 4 deletions

View File

@@ -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) ;