]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/pen.mm
No res-include for rpmspec wx24dsp
[wxWidgets.git] / src / cocoa / pen.mm
index 5446e50d4c7c6cb37a7f770aaa823f3227dc42c5..2ab4e00e2867148852e21ab4b69d627611a323fb 100644 (file)
@@ -6,11 +6,13 @@
 // Created:     2003/08/02
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:    wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
-#include "wx/setup.h"
-#include "wx/pen.h"
+#include "wx/wxprec.h"
+#ifndef WX_PRECOMP
+    #include "wx/pen.h"
+#endif //WX_PRECOMP
 #include "wx/bitmap.h"
 #include "wx/colour.h"
 
@@ -129,6 +131,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()