]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/brush.cpp
wxIMage accessors
[wxWidgets.git] / src / gtk1 / brush.cpp
index 9b36dfce3d3571f4cab95c728264b3b3893a3d20..698c499596615251c892ef38f3fd7472c21019e1 100644 (file)
@@ -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();