]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/brush.h
Deprecated SetItemImage with 2 image ids
[wxWidgets.git] / include / wx / msw / brush.h
index 4b0b124af477f466ced6abb0977ee17167121cb1..0b82aed988663521ea146b211a440f8062a51350 100644 (file)
@@ -32,7 +32,7 @@ public:
     wxBrush();
     wxBrush(const wxColour& col, int style = wxSOLID);
     wxBrush(const wxBitmap& stipple);
-    wxBrush(const wxBrush& brush) { Ref(brush); }
+    wxBrush(const wxBrush& brush) : wxGDIObject(brush) { Ref(brush); }
     virtual ~wxBrush();
 
     virtual void SetColour(const wxColour& col);