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;