]> git.saurik.com Git - wxWidgets.git/commitdiff
Implement GetDashCount() for Carbon/Cocoa.
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 7 Feb 2009 23:23:18 +0000 (23:23 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 7 Feb 2009 23:23:18 +0000 (23:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/pen.h
src/osx/pen.cpp

index 686673abe6221148e8c0c4963108c62ddc8768ac..243714ac7e1e33bb88f2a4abffec8ce9755342ce 100644 (file)
@@ -49,6 +49,7 @@ public:
     wxPenJoin GetJoin() const;
     wxPenCap GetCap() const;
     int GetDashes(wxDash **ptr) const;
+    int GetDashCount() const;
 
     wxBitmap *GetStipple() const ;
 
index 55f5f0c4cf219906c8dc9a7578c08bbd2b594ced..a40bdfcf9f1467faf34015cb85b88d7d112332ac 100644 (file)
@@ -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") );