]> git.saurik.com Git - wxWidgets.git/commitdiff
SetOverflow() should be called with a bool argument, not m_overflow
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 22:46:15 +0000 (22:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 22:46:15 +0000 (22:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index ef672217aea3294f1062528898db63cc365f143e..bf62e90e3ec22783bd19963b08af336ec726e428 100644 (file)
@@ -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;