X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d57de48588afa27a9df2026b830e6cd5b858b5d..c40fd721e4fb645c97368d0492ddb1a7a8922c53:/src/gtk1/pen.cpp diff --git a/src/gtk1/pen.cpp b/src/gtk1/pen.cpp index e7202df6e7..2ca4c94bd7 100644 --- a/src/gtk1/pen.cpp +++ b/src/gtk1/pen.cpp @@ -230,7 +230,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") );