X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..19c7ac3d3bf1ac2113505a805a79c40ce3db1f5b:/src/mgl/pen.cpp diff --git a/src/mgl/pen.cpp b/src/mgl/pen.cpp index 64fdb7bcef..2f1e42feec 100644 --- a/src/mgl/pen.cpp +++ b/src/mgl/pen.cpp @@ -68,7 +68,7 @@ wxPenRefData::wxPenRefData() m_style = wxPENSTYLE_SOLID; m_joinStyle = wxJOIN_ROUND; m_capStyle = wxCAP_ROUND; - m_dash = (wxDash*) NULL; + m_dash = NULL; m_countDashes = 0; int x, y, c; @@ -251,7 +251,7 @@ int wxPen::GetWidth() const return M_PENDATA->m_width; } -wxColour &wxPen::GetColour() const +wxColour wxPen::GetColour() const { wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );