]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/brush.cpp
fixed operator[] in wxUSE_STL build
[wxWidgets.git] / src / msw / brush.cpp
index 3ca22f63753a27ae1478abd18b96ce2cc92e24f5..cf939a5ff25fc6ed5872740ac8959aae16708195 100644 (file)
@@ -243,16 +243,6 @@ wxBrush::~wxBrush()
 // wxBrush house keeping stuff
 // ----------------------------------------------------------------------------
 
-wxBrush& wxBrush::operator=(const wxBrush& brush)
-{
-    if ( this != &brush )
-    {
-        Ref(brush);
-    }
-
-    return *this;
-}
-
 bool wxBrush::operator==(const wxBrush& brush) const
 {
     const wxBrushRefData *brushData = (wxBrushRefData *)brush.m_refData;
@@ -314,7 +304,7 @@ void wxBrush::SetColour(const wxColour& col)
     M_BRUSHDATA->SetColour(col);
 }
 
-void wxBrush::SetColour(const unsigned char r, const unsigned char g, const unsigned char b)
+void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b)
 {
     AllocExclusive();