]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/pen.mm
Swap client data pointers in wxRearrangeList too.
[wxWidgets.git] / src / cocoa / pen.mm
index d94b138c1a791af272214db3e8fa336c0fc00271..0f08a1dc3e0d03092862098422d8b439635aa7d3 100644 (file)
@@ -327,7 +327,7 @@ void wxPen::SetStipple(const wxBitmap& Stipple)
     M_PENDATA->SetStipple(Stipple);
 }
 
-wxColour& wxPen::GetColour() const
+wxColour wxPen::GetColour() const
 {
     return (M_PENDATA ? M_PENDATA->m_colour : wxNullColour);
 }