X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..7a0363dd04205d701f82912adac40453995636ef:/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 ;