]> git.saurik.com Git - wxWidgets.git/blame - include/wx/brush.h
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
[wxWidgets.git] / include / wx / brush.h
CommitLineData
99d80019
JS
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
34138703
JS
12#ifndef _WX_BRUSH_H_BASE_
13#define _WX_BRUSH_H_BASE_
c801d85f 14
c7dc7711
WS
15#include "wx/defs.h"
16#include "wx/object.h"
17#include "wx/gdiobj.h"
18
cb9d5bd0
WS
19// wxBrushBase
20class WXDLLEXPORT wxBrushBase: public wxGDIObject
21{
22public:
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
4055ed82 31#if defined(__WXPALMOS__)
ffecfa5a
JS
32 #include "wx/palmos/brush.h"
33#elif defined(__WXMSW__)
5b36366c
VZ
34 #include "wx/msw/brush.h"
35#elif defined(__WXMOTIF__) || defined(__WXX11__)
36 #include "wx/x11/brush.h"
1be7a35c 37#elif defined(__WXGTK20__)
5b36366c 38 #include "wx/gtk/brush.h"
1be7a35c
MR
39#elif defined(__WXGTK__)
40 #include "wx/gtk1/brush.h"
1e6feb95 41#elif defined(__WXMGL__)
5b36366c 42 #include "wx/mgl/brush.h"
b3c86150
VS
43#elif defined(__WXDFB__)
44 #include "wx/dfb/brush.h"
34138703 45#elif defined(__WXMAC__)
5b36366c 46 #include "wx/mac/brush.h"
e64df9bc 47#elif defined(__WXCOCOA__)
5b36366c 48 #include "wx/cocoa/brush.h"
1777b9bb 49#elif defined(__WXPM__)
5b36366c 50 #include "wx/os2/brush.h"
c801d85f
KB
51#endif
52
53#endif
34138703 54 // _WX_BRUSH_H_BASE_