]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/brush.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / brush.h
... / ...
CommitLineData
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
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
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(__WXDFB__)
44 #include "wx/dfb/brush.h"
45#elif defined(__WXMAC__)
46 #include "wx/mac/brush.h"
47#elif defined(__WXCOCOA__)
48 #include "wx/cocoa/brush.h"
49#elif defined(__WXPM__)
50 #include "wx/os2/brush.h"
51#endif
52
53#endif
54 // _WX_BRUSH_H_BASE_