/////////////////////////////////////////////////////////////////////////////
-// Name: brush.h
+// Name: wx/mac/classic/brush.h
// Purpose: wxBrush class
// Author: Stefan Csomor
// Modified by:
wxBrush(short macThemeBrush ) ;
wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
- wxBrush(const wxBrush& brush)
- : wxBrushBase()
- { Ref(brush); }
~wxBrush();
virtual void SetColour(const wxColour& col) ;
virtual void SetMacTheme(short macThemeBrush) ;
virtual void SetMacThemeBackground(unsigned long macThemeBackground , WXRECTPTR extent) ;
- wxBrush& operator = (const wxBrush& brush)
- { if (*this == brush) return (*this); Ref(brush); return *this; }
- bool operator == (const wxBrush& brush)
+ bool operator == (const wxBrush& brush) const
{ return m_refData == brush.m_refData; }
- bool operator != (const wxBrush& brush)
+ bool operator != (const wxBrush& brush) const
{ return m_refData != brush.m_refData; }
wxMacBrushKind MacGetBrushKind() const ;