wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
{
- return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data));
+ return new wxPenRefData(*static_cast<const wxPenRefData *>(data));
}
bool wxPen::operator==(const wxPen& pen) const
return M_PENDATA->m_nbDash;
}
+int wxPen::GetDashCount() const
+{
+ return M_PENDATA->m_nbDash;
+}
+
wxBitmap *wxPen::GetStipple() const
{
wxCHECK_MSG( Ok(), NULL, wxT("invalid pen") );