]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/pen.cpp
Added wxPGProperty::OnValidationFailure(); needed it and some other tweaks to allow...
[wxWidgets.git] / src / x11 / pen.cpp
index c6f93665872eeaa139f86fe4aae37e81566bbe91..4e8be7e16885f229040664a28a7b7cbd5d7c9ae0 100644 (file)
@@ -223,7 +223,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") );