} wxMacBrushKind ;
// Brush
-class WXDLLEXPORT wxBrush: public wxGDIObject
+class WXDLLEXPORT wxBrush: public wxBrushBase
{
DECLARE_DYNAMIC_CLASS(wxBrush)
wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
wxBrush(const wxBrush& brush)
- : wxGDIObject()
+ : wxBrushBase()
{ Ref(brush); }
~wxBrush();
unsigned long GetMacThemeBackground(WXRECTPTR extent) const ;
short GetMacTheme() const ;
wxColour& GetColour() const ;
- int GetStyle() const ;
+ virtual int GetStyle() const ;
wxBitmap *GetStipple() const ;
- bool IsHatch() const
- { return (GetStyle()>=wxBDIAGONAL_HATCH) && (GetStyle()<=wxVERTICAL_HATCH); }
-
virtual bool Ok() const { return (m_refData != NULL) ; }
// Implementation