]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/brush.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Includes platform-specific wxBrush file
4 // Author: Julian Smart
8 // Copyright: Julian Smart
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_BRUSH_H_BASE_
13 #define _WX_BRUSH_H_BASE_
16 #include "wx/object.h"
17 #include "wx/gdiobj.h"
20 class WXDLLEXPORT wxBrushBase
: public wxGDIObject
23 virtual ~wxBrushBase() { }
25 virtual int GetStyle() const = 0;
27 virtual bool IsHatch() const
28 { return (GetStyle()>=wxFIRST_HATCH
) && (GetStyle()<=wxLAST_HATCH
); }
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(__WXGTK20__)
38 #include "wx/gtk/brush.h"
39 #elif defined(__WXGTK__)
40 #include "wx/gtk1/brush.h"
41 #elif defined(__WXMGL__)
42 #include "wx/mgl/brush.h"
43 #elif defined(__WXMAC__)
44 #include "wx/mac/brush.h"
45 #elif defined(__WXCOCOA__)
46 #include "wx/cocoa/brush.h"
47 #elif defined(__WXPM__)
48 #include "wx/os2/brush.h"