]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/brush.cpp
use the right GdkWindow and origin for non-pizza widget with wxClientDC
[wxWidgets.git] / src / x11 / brush.cpp
index f3a0ecd8cb413e98c9edb5511b936d197b4a4e58..71046981e4868ea2f146bf9de23f57b3dbefa678 100644 (file)
@@ -117,7 +117,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") );