+class wxBrushRefData: public wxGDIRefData
+{
+public:
+ wxBrushRefData(const wxColour& colour = wxNullColour, wxBrushStyle style = wxBRUSHSTYLE_SOLID)
+ {
+ m_style = style;
+ m_colour = colour;
+ }
+
+ wxBrushRefData( const wxBrushRefData& data )
+ : wxGDIRefData()
+ {
+ m_style = data.m_style;
+ m_stipple = data.m_stipple;
+ m_colour = data.m_colour;
+ }
+
+ bool operator == (const wxBrushRefData& data) const
+ {
+ return (m_style == data.m_style &&
+ m_stipple.IsSameAs(data.m_stipple) &&
+ m_colour == data.m_colour);
+ }
+
+ wxBrushStyle m_style;
+ wxColour m_colour;
+ wxBitmap m_stipple;