- wxBrushRefData(void);
- ~wxBrushRefData(void);
-
-protected:
- int m_style;
- wxBitmap m_stipple ;
- wxColour m_colour;
- WXHBRUSH m_hBrush;
-};
-
-#define M_BRUSHDATA ((wxBrushRefData *)m_refData)
-
-// Brush
-class WXDLLEXPORT wxBrush: public wxGDIObject
-{
- DECLARE_DYNAMIC_CLASS(wxBrush)
-
-public:
- wxBrush(void);
- wxBrush(const wxColour& col, const int style);
- wxBrush(const wxString& col, const int style);
- wxBrush(const wxBitmap& stipple);
- inline wxBrush(const wxBrush& brush) { Ref(brush); }
- inline wxBrush(const wxBrush* brush) { /* UnRef(); */ if (brush) Ref(*brush); }
- ~wxBrush(void);
+ wxBrush();
+ wxBrush(const wxColour& col, wxBrushStyle style = wxBRUSHSTYLE_SOLID);
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+ wxDEPRECATED_FUTURE( wxBrush(const wxColour& col, int style) );
+#endif
+ wxBrush(const wxBitmap& stipple);
+ virtual ~wxBrush();