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