X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/335a8b43e952afe037ce77bc4d52e5a688086853..a7e594b239c5750b4e12def2b9cbbef1179a1eca:/src/gtk/pen.cpp?ds=inline 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();