+ wxCHECK_MSG( IsOk(), -1, wxT("invalid pen") );
+
+ *ptr = (wxDash*)M_PENDATA->m_dash;
+ return M_PENDATA->m_countDashes;
+}
+
+int wxPen::GetDashCount() const
+{
+ wxCHECK_MSG( IsOk(), -1, wxT("invalid pen") );
+
+ return (M_PENDATA->m_countDashes);
+}
+
+wxDash* wxPen::GetDash() const
+{
+ wxCHECK_MSG( IsOk(), NULL, wxT("invalid pen") );
+
+ return (wxDash*)M_PENDATA->m_dash;
+}
+
+wxPenCap wxPen::GetCap() const
+{
+ wxCHECK_MSG( IsOk(), wxCAP_INVALID, wxT("invalid pen") );
+