From: Stefan Csomor Date: Mon, 17 Mar 2008 08:58:00 +0000 (+0000) Subject: fix default values after types were changed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9083e7fb1aa2ade4fea7376fd059613b66929535 fix default values after types were changed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/pen.cpp b/src/mac/carbon/pen.cpp index 6118f378cb..b1e1cccb01 100644 --- a/src/mac/carbon/pen.cpp +++ b/src/mac/carbon/pen.cpp @@ -172,17 +172,17 @@ int wxPen::GetWidth() const wxPenStyle wxPen::GetStyle() const { - return (M_PENDATA ? M_PENDATA->m_style : 0); + return (M_PENDATA ? M_PENDATA->m_style : wxPENSTYLE_SOLID); } wxPenJoin wxPen::GetJoin() const { - return (M_PENDATA ? M_PENDATA->m_join : 0); + return (M_PENDATA ? M_PENDATA->m_join : wxJOIN_INVALID); } wxPenCap wxPen::GetCap() const { - return (M_PENDATA ? M_PENDATA->m_cap : 0); + return (M_PENDATA ? M_PENDATA->m_cap : wxCAP_INVALID); } int wxPen::GetDashes(wxDash **ptr) const