]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/brush.h
1 #ifndef _WX_BRUSH_H_BASE_
2 #define _WX_BRUSH_H_BASE_
9 class WXDLLEXPORT wxBrushBase
: public wxGDIObject
12 virtual ~wxBrushBase() { }
14 virtual int GetStyle() const = 0;
16 virtual bool IsHatch() const
17 { return (GetStyle()>=wxFIRST_HATCH
) && (GetStyle()<=wxLAST_HATCH
); }
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"