From 61f3e0f5c172147d5ba76fc7f099472c1e05aba4 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Dec 2003 07:44:53 +0000 Subject: [PATCH] Applied patch [ 819044 ] Adds MSW wxPen::GetDashCount git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/pen.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index 0e4be5f858..95f7186b05 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -113,6 +113,8 @@ public: *ptr = (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : (wxDash*) NULL); return (M_PENDATA ? M_PENDATA->m_nbDash : 0); } + wxDash* GetDash() const { return (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : (wxDash*)NULL); }; + inline int GetDashCount() const { return (M_PENDATA ? M_PENDATA->m_nbDash : 0); }; inline wxBitmap *GetStipple() const { return (M_PENDATA ? (& M_PENDATA->m_stipple) : (wxBitmap*) NULL); }; -- 2.45.2