+ Unshare();
+ M_PENDATA->m_width = width;
+}
+
+int wxPen::GetDashes( wxDash **ptr ) const
+{
+ *ptr = (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : (wxDash*) NULL);
+ return (M_PENDATA ? M_PENDATA->m_countDashes : 0);
+}
+
+int wxPen::GetDashCount() const
+{
+ return (M_PENDATA->m_countDashes);