]> git.saurik.com Git - wxWidgets.git/commitdiff
AutoSizeColumns and AutoSizeRows changed to pass FALSE for calcOnly arg
authorMichael Bedward <mbedward@ozemail.com.au>
Tue, 29 Feb 2000 08:27:29 +0000 (08:27 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Tue, 29 Feb 2000 08:27:29 +0000 (08:27 +0000)
to SetOrCalcXXXSizes()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h

index 55dfc660db7295cec7cc09bfeb554b96054e8b97..cf8cdb2c9566380b2c721be7b1c1b708af812a2d 100644 (file)
@@ -1086,10 +1086,10 @@ public:
 
     // auto size all columns (very ineffective for big grids!)
     void     AutoSizeColumns( bool setAsMin = TRUE )
-        { (void)SetOrCalcColumnSizes(TRUE, setAsMin); }
+        { (void)SetOrCalcColumnSizes(FALSE, setAsMin); }
 
     void     AutoSizeRows( bool setAsMin = TRUE )
-        { (void)SetOrCalcRowSizes(TRUE, setAsMin); }
+        { (void)SetOrCalcRowSizes(FALSE, setAsMin); }
 
     // auto size the grid, that is make the columns/rows of the "right" size
     // and also set the grid size to just fit its contents