From c644b82e7609e64f907c3ca2f183646356ed7ec6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 26 Feb 2006 10:45:38 +0000 Subject: [PATCH] Missing wxPen (dashes) members. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/pen.h | 4 ++++ src/os2/pen.cpp | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/include/wx/os2/pen.h b/include/wx/os2/pen.h index 2185169aff..0d12294799 100644 --- a/include/wx/os2/pen.h +++ b/include/wx/os2/pen.h @@ -84,6 +84,10 @@ public: inline int GetCap(void) const { return (M_PENDATA ? M_PENDATA->m_nCap : 0); }; inline int GetPS(void) const { return (M_PENDATA ? M_PENDATA->m_hPen : 0); }; + int GetDashes(wxDash **ptr) const; + int GetDashCount() const; + wxDash* GetDash() const; + inline wxBitmap* GetStipple(void) const { return (M_PENDATA ? (& M_PENDATA->m_vStipple) : (wxBitmap*) NULL); }; // diff --git a/src/os2/pen.cpp b/src/os2/pen.cpp index dc85074fd9..dc99fed02d 100644 --- a/src/os2/pen.cpp +++ b/src/os2/pen.cpp @@ -404,6 +404,25 @@ void wxPen::SetDashes( int WXUNUSED(nNbDashes), // } // end of wxPen::SetDashes +int wxPen::GetDashes( wxDash **ptr ) const +{ + // TODO + *ptr = (wxDash*) NULL; + return 0; +} + +int wxPen::GetDashCount() const +{ + // TODO + return 0; +} + +wxDash* wxPen::GetDash() const +{ + // TODO + return NULL; +} + void wxPen::SetJoin( int nJoin ) -- 2.45.2