X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2051c39fae88ff7a1cb964d7204cfa3356d4cbc5..84e455807ee62925c98e18d2848954125b128018:/src/x11/pen.cpp diff --git a/src/x11/pen.cpp b/src/x11/pen.cpp index c6f9366587..4e8be7e168 100644 --- a/src/x11/pen.cpp +++ b/src/x11/pen.cpp @@ -223,7 +223,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") );