]> git.saurik.com Git - wxWidgets.git/blame - include/wx/brush.h
applied heavily modified patch 1116702: support for specifying disabled toolbar image...
[wxWidgets.git] / include / wx / brush.h
CommitLineData
34138703
JS
1#ifndef _WX_BRUSH_H_BASE_
2#define _WX_BRUSH_H_BASE_
c801d85f 3
c7dc7711
WS
4#include "wx/defs.h"
5#include "wx/object.h"
6#include "wx/gdiobj.h"
7
cb9d5bd0
WS
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
4055ed82 20#if defined(__WXPALMOS__)
ffecfa5a
JS
21 #include "wx/palmos/brush.h"
22#elif defined(__WXMSW__)
5b36366c
VZ
23 #include "wx/msw/brush.h"
24#elif defined(__WXMOTIF__) || defined(__WXX11__)
25 #include "wx/x11/brush.h"
2049ba38 26#elif defined(__WXGTK__)
5b36366c 27 #include "wx/gtk/brush.h"
1e6feb95 28#elif defined(__WXMGL__)
5b36366c 29 #include "wx/mgl/brush.h"
34138703 30#elif defined(__WXMAC__)
5b36366c 31 #include "wx/mac/brush.h"
e64df9bc 32#elif defined(__WXCOCOA__)
5b36366c 33 #include "wx/cocoa/brush.h"
1777b9bb 34#elif defined(__WXPM__)
5b36366c 35 #include "wx/os2/brush.h"
c801d85f
KB
36#endif
37
38#endif
34138703 39 // _WX_BRUSH_H_BASE_