X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..8ab9a53699b34bd9f4a4934fd1f6c9c4c78f6599:/include/wx/os2/pen.h diff --git a/include/wx/os2/pen.h b/include/wx/os2/pen.h index a2b65cb6b9..2185169aff 100644 --- a/include/wx/os2/pen.h +++ b/include/wx/os2/pen.h @@ -52,11 +52,8 @@ public: wxPen( const wxBitmap& rStipple ,int nWidth ); - inline wxPen(const wxPen& rPen) { Ref(rPen); } ~wxPen(); - inline wxPen& operator = (const wxPen& rPen) - { if (*this == rPen) return (*this); Ref(rPen); return *this; } inline bool operator == (const wxPen& rPen) const { return m_refData == rPen.m_refData; } inline bool operator != (const wxPen& rPen) const @@ -68,7 +65,7 @@ public: // Override in order to recreate the pen // void SetColour(const wxColour& rColour); - void SetColour(const unsigned char cRed, const unsigned char cGreen, const unsigned char cBlue); + void SetColour(unsigned char cRed, unsigned char cGreen, unsigned char cBlue); void SetWidth(int nWidth); void SetStyle(int nStyle);