]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/brush.cpp
set m_closed to true when we get connection lost notification
[wxWidgets.git] / src / mgl / brush.cpp
index 7735469cd160958d0a73a693e213a0733e672087..c5f2b03cc083c33d28cce3f451d33f45bc39a878 100644 (file)
@@ -182,7 +182,7 @@ wxBrushStyle wxBrush::GetStyle() const
     return M_BRUSHDATA->m_style;
 }
 
-wxColour &wxBrush::GetColour() const
+wxColour wxBrush::GetColour() const
 {
     wxCHECK_MSG( Ok(), wxNullColour, _T("invalid brush") );