corrected for compilation under Mac OS X with -cpp-precomp option

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-06-23 17:01:43 +00:00
parent 6d5e730730
commit 6868c3eb8f
7 changed files with 98 additions and 88 deletions

View File

@@ -52,7 +52,7 @@ protected:
GWorldPtr lpbi;
int bgindex;
wxPalette* Palette;
wxPalette* m_palette;
bool imageOK;
friend class wxPNGReaderIter;
public:
@@ -80,7 +80,7 @@ public:
bool SetPalette(wxPalette* colourmap);
bool SetPalette(int n, rgb_color_struct *rgb_struct);
bool SetPalette(int n, byte *r, byte *g=0, byte *b=0);
wxPalette* GetPalette() const { return Palette; }
wxPalette* GetPalette() const { return m_palette; }
void NullData();
inline int GetBGIndex(void) { return bgindex; }