]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palette.h
Not all implementations of wxMDIChildFrame derive from wxFrame
[wxWidgets.git] / include / wx / palette.h
CommitLineData
34138703
JS
1#ifndef _WX_PALETTE_H_BASE_
2#define _WX_PALETTE_H_BASE_
c801d85f 3
917be7ed 4#include "wx/defs.h"
2a2ec353 5
d275c7eb
VZ
6#if wxUSE_PALETTE
7
917be7ed
WS
8#include "wx/object.h"
9#include "wx/gdiobj.h"
10
11// wxBrushBase
12class WXDLLEXPORT wxPaletteBase: public wxGDIObject
13{
14public:
15 virtual ~wxPaletteBase() { }
16
17 virtual bool Ok() const = 0;
18 virtual int GetColoursCount() const { wxFAIL_MSG( _T("not implemented") ); return 0; };
19};
20
4055ed82 21#if defined(__WXPALMOS__)
917be7ed
WS
22 #include "wx/palmos/palette.h"
23#elif defined(__WXMSW__)
d275c7eb 24 #include "wx/msw/palette.h"
2049ba38 25#elif defined(__WXMOTIF__)
d275c7eb 26 #include "wx/motif/palette.h"
1a4ebaf8 27#elif defined(__WXGTK__) || defined(__WXCOCOA__)
d275c7eb 28 #include "wx/generic/paletteg.h"
83df96d6
JS
29#elif defined(__WXX11__)
30 #include "wx/x11/palette.h"
b2a19d94 31#elif defined(__WXMGL__)
d275c7eb 32 #include "wx/mgl/palette.h"
34138703 33#elif defined(__WXMAC__)
d275c7eb 34 #include "wx/mac/palette.h"
1777b9bb 35#elif defined(__WXPM__)
d275c7eb 36 #include "wx/os2/palette.h"
c801d85f
KB
37#endif
38
917be7ed
WS
39#if WXWIN_COMPATIBILITY_2_4
40 #define wxColorMap wxPalette
41 #define wxColourMap wxPalette
42#endif
43
d275c7eb
VZ
44#endif // wxUSE_PALETTE
45
c801d85f 46#endif
34138703 47 // _WX_PALETTE_H_BASE_