From ad115b2d656d79790b41b88d6dd578f0e624612c Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Tue, 29 Feb 2000 08:27:29 +0000 Subject: [PATCH] AutoSizeColumns and AutoSizeRows changed to pass FALSE for calcOnly arg to SetOrCalcXXXSizes() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/grid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 55dfc660db..cf8cdb2c95 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -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