X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/gtk/pen.cpp?ds=sidebyside diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index 2e38df095b..06c0d8c1ed 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/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") );