X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..bbca44f104e713b55c340475d9f3d104a5ceb624:/src/osx/pen.cpp diff --git a/src/osx/pen.cpp b/src/osx/pen.cpp index e902ada8c6..a40bdfcf9f 100644 --- a/src/osx/pen.cpp +++ b/src/osx/pen.cpp @@ -151,7 +151,7 @@ wxGDIRefData *wxPen::CreateGDIRefData() const wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data)); + return new wxPenRefData(*static_cast(data)); } bool wxPen::operator==(const wxPen& pen) const @@ -205,6 +205,11 @@ int wxPen::GetDashes(wxDash **ptr) 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") );