X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..61f0bec0cd812de8ed7e50dff6a269043e49c7a2:/src/mgl/pen.cpp diff --git a/src/mgl/pen.cpp b/src/mgl/pen.cpp index ce9e56c741..a98e011a9e 100644 --- a/src/mgl/pen.cpp +++ b/src/mgl/pen.cpp @@ -103,18 +103,6 @@ wxPen::wxPen(const wxBitmap& stipple, int width) wxBitmapToPixPattern(stipple, &(M_PENDATA->m_pixPattern), NULL); } -wxPen::wxPen(const wxPen& pen) -{ - Ref(pen); -} - -wxPen& wxPen::operator = (const wxPen& pen) -{ - if (*this == pen) return (*this); - Ref(pen); - return *this; -} - bool wxPen::operator == (const wxPen& pen) const { return m_refData == pen.m_refData; @@ -138,7 +126,7 @@ void wxPen::SetDashes(int number_of_dashes, const wxDash *dash) M_PENDATA->m_dash = (wxDash *)dash; /* TODO */ } -void wxPen::SetColour(const unsigned char red, const unsigned char green, const unsigned char blue) +void wxPen::SetColour(unsigned char red, unsigned char green, unsigned char blue) { AllocExclusive(); M_PENDATA->m_colour.Set(red, green, blue);