X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..c3627a004d0333ec7bfc88e2a397d7d7f9752ea9:/include/wx/msw/brush.h diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index 4b0b124af4..0b82aed988 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -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);