X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..2b760f0e7a072ea7a29cb7451ef9e60e6c4e1f05:/src/mac/brush.cpp

diff --git a/src/mac/brush.cpp b/src/mac/brush.cpp
index f38b3782d9..ba06a370e2 100644
--- a/src/mac/brush.cpp
+++ b/src/mac/brush.cpp
@@ -46,14 +46,15 @@ protected:
 #define M_BRUSHDATA ((wxBrushRefData *)m_refData)
 
 wxBrushRefData::wxBrushRefData()
+    : m_style(wxSOLID)
 {
-    m_style = wxSOLID;
     m_macBrushKind = kwxMacBrushColour ;
 }
 
 wxBrushRefData::wxBrushRefData(const wxBrushRefData& data)
+    : wxGDIRefData()
+    , m_style(data.m_style)
 {
-  m_style = data.m_style;
   m_stipple = data.m_stipple;
   m_colour = data.m_colour;
   m_macBrushKind = data.m_macBrushKind ;