X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c1f7241c0204f37ed3dee8aee69f2383ed95da9..e4a81a2e96b5a349ee9430b91d36e7e8a21d7976:/src/gtk/pen.cpp diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index a0fd6d563b..f897cb2d95 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/pen.cpp @@ -71,16 +71,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 +113,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();