]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialize m_cocoaDash to NULL in copy constructor
authorDavid Elliott <dfe@tgwbd.org>
Tue, 5 Aug 2003 12:50:40 +0000 (12:50 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 5 Aug 2003 12:50:40 +0000 (12:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/pen.mm

index 5446e50d4c7c6cb37a7f770aaa823f3227dc42c5..21c5865c3b9272862dc8b74b9418e64f4b4db38d 100644 (file)
@@ -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()