virtual void MacSetTheme(short macThemeBrush) ;
virtual void MacSetThemeBackground(unsigned long macThemeBackground , WXRECTPTR extent) ;
- bool operator == (const wxBrush& brush) const
- { return m_refData == brush.m_refData; }
+ bool operator == (const wxBrush& brush) const;
bool operator != (const wxBrush& brush) const
- { return m_refData != brush.m_refData; }
+ { return !(*this == brush); }
wxMacBrushKind MacGetBrushKind() const ;
// Useful helper: create the brush resource
bool RealizeResource();
- // When setting properties, we must make sure we're not changing
- // another object
+private:
void Unshare();
};