From dfd7c0821a91ca22d94652017a62b7667cb7f250 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 22:46:15 +0000 Subject: [PATCH] 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 --- src/generic/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;