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
This commit is contained in:
Michael Bedward 2000-02-29 08:27:29 +00:00
parent cfdd3a98d8
commit ad115b2d65

View 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