X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/335a8b43e952afe037ce77bc4d52e5a688086853..f5e27805de786dbb3976782ba2a3365c27256031:/src/gtk/pen.cpp diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index a0fd6d563b..59e2c3e06d 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/pen.cpp @@ -2,9 +2,8 @@ // 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 ///////////////////////////////////////////////////////////////////////////// @@ -71,16 +70,6 @@ wxPen::wxPen( const wxColour &colour, int width, int style ) 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 ); @@ -123,12 +112,6 @@ void wxPen::SetColour( const wxColour &colour ) 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();