X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2051c39fae88ff7a1cb964d7204cfa3356d4cbc5..d8812c6e0e780fb2dae99bc352c5061f58793e14:/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") );