X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e55ad60e195f1007db921b2a73a3cac98ed9df65..e487524e492809638b7e335937c41fd432458a54:/src/gtk1/brush.cpp diff --git a/src/gtk1/brush.cpp b/src/gtk1/brush.cpp index 9b36dfce3d..698c499596 100644 --- a/src/gtk1/brush.cpp +++ b/src/gtk1/brush.cpp @@ -2,9 +2,8 @@ // 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 ///////////////////////////////////////////////////////////////////////////// @@ -62,15 +61,6 @@ wxBrush::wxBrush( const wxColour &colour, int style ) 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(); @@ -161,12 +151,6 @@ void wxBrush::SetColour( const wxColour& col ) 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();