if (wxTheBrushList) wxTheBrushList->AddBrush( this );
}
-wxBrush::wxBrush( const wxString &colourName, int style )
-{
- m_refData = new wxBrushRefData();
- M_BRUSHDATA->m_style = style;
- M_BRUSHDATA->m_colour = colourName;
-
- if (wxTheBrushList) wxTheBrushList->AddBrush( this );
-}
-
wxBrush::wxBrush( const wxBitmap &stippleBitmap )
{
m_refData = new wxBrushRefData();
M_BRUSHDATA->m_colour = col;
}
-void wxBrush::SetColour( const wxString& col )
-{
- Unshare();
- M_BRUSHDATA->m_colour = col;
-}
-
void wxBrush::SetColour( unsigned char r, unsigned char g, unsigned char b )
{
Unshare();