-
- if ( wxTheBrushList )
- wxTheBrushList->AddBrush(this);
-}
-
-wxBrush::wxBrush(const wxString& col, int Style)
-{
- m_refData = new wxBrushRefData;
-
- // Implicit conversion from string to wxColour via colour database
- M_BRUSHDATA->m_colour = col;
- M_BRUSHDATA->m_style = Style;
-
- RealizeResource();
-