X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..7e38638c3499c679f25ec0029931aad8e62e70d3:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index ae1b3d63b8..ae66559cec 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -540,7 +540,7 @@ void wxPen::SetCap(wxPenCap cap) M_PENDATA->SetCap(cap); } -wxColour& wxPen::GetColour() const +wxColour wxPen::GetColour() const { wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid pen") );