// wxPalette
//-----------------------------------------------------------------------------
-class wxPalette: public wxGDIObject
+class wxPalette: public wxPaletteBase
{
DECLARE_DYNAMIC_CLASS(wxPalette)
wxPalette& operator = ( const wxPalette& palette );
bool operator == ( const wxPalette& palette );
bool operator != ( const wxPalette& palette );
- bool Ok() const;
+ virtual bool Ok() const;
bool Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel( const unsigned char red, const unsigned char green, const unsigned char blue ) const;
// no data
};
-#define wxColorMap wxPalette
-#define wxColourMap wxPalette
-
#endif // __WX_PALETTEG_H__