X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..f644bc116bbe46d6ab609a44c05835dc4d87ba02:/include/wx/msw/pen.h?ds=sidebyside diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index 56560d3834..7e682576d4 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -77,17 +77,8 @@ public: wxPen(); wxPen(const wxColour& col, int width = 1, int style = wxSOLID); wxPen(const wxBitmap& stipple, int width); - wxPen(const wxPen& pen) : wxGDIObject(pen) { Ref(pen); } virtual ~wxPen(); - wxPen& operator=(const wxPen& pen) - { - if ( this != &pen ) - Ref(pen); - - return *this; - } - bool operator==(const wxPen& pen) const { const wxPenRefData *penData = (wxPenRefData *)pen.m_refData;