// Name: pen.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 (wxThePenList) wxThePenList->AddPen( this );
}
-wxPen::wxPen( const wxString &colourName, int width, int style )
-{
- m_refData = new wxPenRefData();
- M_PENDATA->m_width = width;
- M_PENDATA->m_style = style;
- M_PENDATA->m_colour = colourName;
-
- if (wxThePenList) wxThePenList->AddPen( this );
-}
-
wxPen::wxPen( const wxPen& pen )
{
Ref( pen );
M_PENDATA->m_colour = colour;
}
-void wxPen::SetColour( const wxString &colourName )
-{
- Unshare();
- M_PENDATA->m_colour = colourName;
-}
-
void wxPen::SetColour( int red, int green, int blue )
{
Unshare();