From 568cdf9c4cba50acac3b67a435f135306c913c1a Mon Sep 17 00:00:00 2001 From: David Elliott Date: Tue, 5 Aug 2003 12:50:40 +0000 Subject: [PATCH] Initialize m_cocoaDash to NULL in copy constructor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/pen.mm | 1 + 1 file changed, 1 insertion(+) 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() -- 2.45.2