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