]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/brush.cpp
adjust the rectangle before calling DrawThemeBackground() (patch 1158282)
[wxWidgets.git] / src / msw / brush.cpp
index 29161607c3220ee41e9c3234a336dd2ac08a5d9b..07c11e9bdb4ac743f4b6bf2f952ec74685923b84 100644 (file)
@@ -103,7 +103,8 @@ wxBrushRefData::wxBrushRefData(const wxBitmap& stipple)
 }
 
 wxBrushRefData::wxBrushRefData(const wxBrushRefData& data)
-              : m_stipple(data.m_stipple),
+              : wxGDIRefData(),
+                m_stipple(data.m_stipple),
                 m_colour(data.m_colour)
 {
     m_style = data.m_style;