]> git.saurik.com Git - wxWidgets.git/blob - include/wx/brush.h
workaround for simpler CW setup
[wxWidgets.git] / include / wx / brush.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/brush.h
3 // Purpose: Includes platform-specific wxBrush file
4 // Author: Julian Smart
5 // Modified by:
6 // Created:
7 // RCS-ID: $Id$
8 // Copyright: Julian Smart
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_BRUSH_H_BASE_
13 #define _WX_BRUSH_H_BASE_
14
15 #include "wx/defs.h"
16 #include "wx/object.h"
17 #include "wx/gdiobj.h"
18
19 // wxBrushBase
20 class WXDLLEXPORT wxBrushBase: public wxGDIObject
21 {
22 public:
23 virtual ~wxBrushBase() { }
24
25 virtual int GetStyle() const = 0;
26
27 virtual bool IsHatch() const
28 { return (GetStyle()>=wxFIRST_HATCH) && (GetStyle()<=wxLAST_HATCH); }
29 };
30
31 #if defined(__WXPALMOS__)
32 #include "wx/palmos/brush.h"
33 #elif defined(__WXMSW__)
34 #include "wx/msw/brush.h"
35 #elif defined(__WXMOTIF__) || defined(__WXX11__)
36 #include "wx/x11/brush.h"
37 #elif defined(__WXGTK__)
38 #include "wx/gtk/brush.h"
39 #elif defined(__WXMGL__)
40 #include "wx/mgl/brush.h"
41 #elif defined(__WXMAC__)
42 #include "wx/mac/brush.h"
43 #elif defined(__WXCOCOA__)
44 #include "wx/cocoa/brush.h"
45 #elif defined(__WXPM__)
46 #include "wx/os2/brush.h"
47 #endif
48
49 #endif
50 // _WX_BRUSH_H_BASE_