fix default values after types were changed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2008-03-17 08:58:00 +00:00
parent aacd4b50d3
commit 9083e7fb1a

View File

@ -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