Implement GetDashCount() for Carbon/Cocoa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2009-02-07 23:23:18 +00:00
parent b916f71245
commit e2cb366f61
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ public:
wxPenJoin GetJoin() const; wxPenJoin GetJoin() const;
wxPenCap GetCap() const; wxPenCap GetCap() const;
int GetDashes(wxDash **ptr) const; int GetDashes(wxDash **ptr) const;
int GetDashCount() const;
wxBitmap *GetStipple() const ; wxBitmap *GetStipple() const ;

View File

@ -205,6 +205,11 @@ int wxPen::GetDashes(wxDash **ptr) const
return M_PENDATA->m_nbDash; return M_PENDATA->m_nbDash;
} }
int wxPen::GetDashCount() const
{
return M_PENDATA->m_nbDash;
}
wxBitmap *wxPen::GetStipple() const wxBitmap *wxPen::GetStipple() const
{ {
wxCHECK_MSG( Ok(), NULL, wxT("invalid pen") ); wxCHECK_MSG( Ok(), NULL, wxT("invalid pen") );