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