X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/078cf5cb756c4f4113d7acf04ebd6a2535ef75b3..ed6dd18ae810f7ccc81ea9e452cc2213e211427a:/include/wx/msw/pen.h diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index a81ee0a9e6..540a010c0d 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -81,7 +81,7 @@ public: wxPen(); wxPen(const wxColour& col, int width = 1, int style = wxSOLID); wxPen(const wxBitmap& stipple, int width); - wxPen(const wxPen& pen) { Ref(pen); } + wxPen(const wxPen& pen) : wxGDIObject(pen) { Ref(pen); } virtual ~wxPen(); wxPen& operator=(const wxPen& pen)