1 #ifndef _WX_PALETTE_H_BASE_
2 #define _WX_PALETTE_H_BASE_
12 class WXDLLEXPORT wxPaletteBase
: public wxGDIObject
15 virtual ~wxPaletteBase() { }
17 virtual bool Ok() const = 0;
18 virtual int GetColoursCount() const { wxFAIL_MSG( _T("not implemented") ); return 0; };
21 #if defined(__PALMOS__)
22 #include "wx/palmos/palette.h"
23 #elif defined(__WXMSW__)
24 #include "wx/msw/palette.h"
25 #elif defined(__WXMOTIF__)
26 #include "wx/motif/palette.h"
27 #elif defined(__WXGTK__) || defined(__WXCOCOA__)
28 #include "wx/generic/paletteg.h"
29 #elif defined(__WXX11__)
30 #include "wx/x11/palette.h"
31 #elif defined(__WXMGL__)
32 #include "wx/mgl/palette.h"
33 #elif defined(__WXMAC__)
34 #include "wx/mac/palette.h"
35 #elif defined(__WXPM__)
36 #include "wx/os2/palette.h"
39 #if WXWIN_COMPATIBILITY_2_4
40 #define wxColorMap wxPalette
41 #define wxColourMap wxPalette
44 #endif // wxUSE_PALETTE
47 // _WX_PALETTE_H_BASE_