X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d57de48588afa27a9df2026b830e6cd5b858b5d..87e024f7d5266f596ba0249d4842d09eec11c6d8:/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") );