// Created: 10/12/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PALETTE_H_
#define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
-class WXDLLEXPORT wxPalette: public wxGDIObject
+class WXDLLEXPORT wxPalette: public wxPaletteBase
{
DECLARE_DYNAMIC_CLASS(wxPalette)
inline bool operator != (const wxPalette& rPalette) const
{ return m_refData != rPalette.m_refData; }
- virtual bool FreeResource(bool bForce = FALSE);
+ virtual bool FreeResource(bool bForce = false);
inline WXHPALETTE GetHPALETTE(void) const { return (M_PALETTEDATA ? M_PALETTEDATA->m_hPalette : 0); }
void SetHPALETTE(WXHPALETTE hPalette);
void SetPS(HPS hPS);
}; // end of CLASS wxPalette
-#define wxColorMap wxPalette
-#define wxColourMap wxPalette
-
#endif
// _WX_PALETTE_H_