X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f631557e0eb3c640ac296ad44c7aeaef269d957..c34e3c7930684745d6aaf4696fc18faa32463d0e:/src/cocoa/pen.mm diff --git a/src/cocoa/pen.mm b/src/cocoa/pen.mm index 5446e50d4c..21c5865c3b 100644 --- a/src/cocoa/pen.mm +++ b/src/cocoa/pen.mm @@ -129,6 +129,7 @@ inline wxPenRefData::wxPenRefData(const wxPenRefData& data) m_dash = data.m_dash; m_stipple = data.m_stipple; m_cocoaNSColor = [data.m_cocoaNSColor retain]; + m_cocoaDash = NULL; } inline void wxPenRefData::FreeCocoaNSColor()