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:
@@ -172,17 +172,17 @@ int wxPen::GetWidth() const
|
|||||||
|
|
||||||
wxPenStyle wxPen::GetStyle() 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
|
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
|
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
|
int wxPen::GetDashes(wxDash **ptr) const
|
||||||
|
Reference in New Issue
Block a user