+#include "wx/mac/private.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject)
+
+class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
+{
+ friend class WXDLLEXPORT wxBrush;
+
+public:
+ wxBrushRefData();
+ wxBrushRefData(const wxBrushRefData& data);
+ virtual ~wxBrushRefData();
+
+ bool operator == ( const wxBrushRefData& brush ) const
+ {
+ return m_style == brush.m_style &&
+ m_stipple.IsSameAs(brush.m_stipple) &&
+ m_colour == brush.m_colour &&
+ m_macBrushKind == brush.m_macBrushKind &&
+ m_macThemeBrush == brush.m_macThemeBrush &&
+ m_macThemeBackground == brush.m_macThemeBackground &&
+ EqualRect(&m_macThemeBackgroundExtent, &brush.m_macThemeBackgroundExtent);
+ }
+
+
+protected:
+ wxMacBrushKind m_macBrushKind ;
+ int m_style;
+ wxBitmap m_stipple ;
+ wxColour m_colour;
+
+ ThemeBrush m_macThemeBrush ;
+
+ ThemeBackgroundKind m_macThemeBackground ;
+ Rect m_macThemeBackgroundExtent ;
+};
+
+#define M_BRUSHDATA ((wxBrushRefData *)m_refData)
+
+