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:
parent
b916f71245
commit
e2cb366f61
@ -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 ;
|
||||||
|
|
||||||
|
@ -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") );
|
||||||
|
Loading…
Reference in New Issue
Block a user