From: Vadim Zeitlin Date: Sun, 8 Oct 2006 22:46:15 +0000 (+0000) Subject: SetOverflow() should be called with a bool argument, not m_overflow X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dfd7c0821a91ca22d94652017a62b7667cb7f250 SetOverflow() should be called with a bool argument, not m_overflow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index ef672217ae..bf62e90e3e 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -2292,7 +2292,7 @@ wxGridCellAttr *wxGridCellAttr::Clone() const if ( IsReadOnly() ) attr->SetReadOnly(); - attr->SetOverflow( m_overflow ); + attr->SetOverflow( m_overflow == Overflow ); attr->SetKind( m_attrkind ); return attr;