]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/brush.h
have CGImage Support in all OSX builds
[wxWidgets.git] / include / wx / brush.h
... / ...
CommitLineData
1#ifndef _WX_BRUSH_H_BASE_
2#define _WX_BRUSH_H_BASE_
3
4#include "wx/defs.h"
5#include "wx/object.h"
6#include "wx/gdiobj.h"
7
8// wxBrushBase
9class WXDLLEXPORT wxBrushBase: public wxGDIObject
10{
11public:
12 virtual ~wxBrushBase() { }
13
14 virtual int GetStyle() const = 0;
15
16 virtual bool IsHatch() const
17 { return (GetStyle()>=wxFIRST_HATCH) && (GetStyle()<=wxLAST_HATCH); }
18};
19
20#if defined(__WXPALMOS__)
21 #include "wx/palmos/brush.h"
22#elif defined(__WXMSW__)
23 #include "wx/msw/brush.h"
24#elif defined(__WXMOTIF__) || defined(__WXX11__)
25 #include "wx/x11/brush.h"
26#elif defined(__WXGTK__)
27 #include "wx/gtk/brush.h"
28#elif defined(__WXMGL__)
29 #include "wx/mgl/brush.h"
30#elif defined(__WXMAC__)
31 #include "wx/mac/brush.h"
32#elif defined(__WXCOCOA__)
33 #include "wx/cocoa/brush.h"
34#elif defined(__WXPM__)
35 #include "wx/os2/brush.h"
36#endif
37
38#endif
39 // _WX_BRUSH_H_BASE_