]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/pen.h
Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadi...
[wxWidgets.git] / include / wx / msw / pen.h
index a81ee0a9e67b1aa31d63174b266c524e17c28f39..540a010c0dc182d84b737e6f63a635b88a245629 100644 (file)
@@ -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)