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
This commit is contained in:
@@ -129,6 +129,7 @@ inline wxPenRefData::wxPenRefData(const wxPenRefData& data)
|
|||||||
m_dash = data.m_dash;
|
m_dash = data.m_dash;
|
||||||
m_stipple = data.m_stipple;
|
m_stipple = data.m_stipple;
|
||||||
m_cocoaNSColor = [data.m_cocoaNSColor retain];
|
m_cocoaNSColor = [data.m_cocoaNSColor retain];
|
||||||
|
m_cocoaDash = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void wxPenRefData::FreeCocoaNSColor()
|
inline void wxPenRefData::FreeCocoaNSColor()
|
||||||
|
Reference in New Issue
Block a user