// declarations
// ============================================================================
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "brush.h"
-#endif
-
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
}
wxBrushRefData::wxBrushRefData(const wxBrushRefData& data)
- : m_stipple(data.m_stipple),
+ : wxGDIRefData(),
+ m_stipple(data.m_stipple),
m_colour(data.m_colour)
{
m_style = data.m_style;
// wxBrush house keeping stuff
// ----------------------------------------------------------------------------
-wxBrush& wxBrush::operator=(const wxBrush& brush)
-{
- if ( this != &brush )
- {
- Ref(brush);
- }
-
- return *this;
-}
-
bool wxBrush::operator==(const wxBrush& brush) const
{
const wxBrushRefData *brushData = (wxBrushRefData *)brush.m_refData;
M_BRUSHDATA->SetStipple(stipple);
}
-
-