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); };