// Name: brush.cpp
// Purpose:
// Author: Robert Roebling
-// Created: 01/02/97
-// Id:
-// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Id: $Id$
+// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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();