]> git.saurik.com Git - wxWidgets.git/commitdiff
no changes, just replaced SF bug number in a comment with Trac one
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Dec 2008 12:43:45 +0000 (12:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 14 Dec 2008 12:43:45 +0000 (12:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 452a7b6d3f7c9a97d6ec98b98137375f5e82ee94..542231d8f34046658166e206139f87216ce4b208 100644 (file)
@@ -10398,14 +10398,10 @@ void wxGrid::SetColSize( int col, int width )
         width = wxMax(width, GetColMinimalAcceptableWidth());
     }
 
-    // should we check that it's bigger than GetColMinimalWidth(col) here?
-    //                                                                 (VZ)
-    // No, because it is reasonable to assume the library user know's
-    // what he is doing. However we should test against the weaker
-    // constraint of minimalAcceptableWidth, as this breaks rendering
-    //
-    // This test then fixes sf.net bug #645734
-
+    // we intentionally don't test whether the width is less than
+    // GetColMinimalWidth() here but we do compare it with
+    // GetColMinimalAcceptableWidth() as otherwise things currently break (see
+    // #651)
     if ( width < GetColMinimalAcceptableWidth() )
         return;