]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/pen.cpp
undid change of r44565: not taking hyphens into account entirely is a bad idea as...
[wxWidgets.git] / src / mgl / pen.cpp
index 64fdb7bcef0fd6ad6e373557a551002cc8da2e89..10af3215728c1df9bbf59c54778a0df9fe2e1a6b 100644 (file)
@@ -251,7 +251,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") );