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:
@@ -1086,10 +1086,10 @@ public:
|
|||||||
|
|
||||||
// auto size all columns (very ineffective for big grids!)
|
// auto size all columns (very ineffective for big grids!)
|
||||||
void AutoSizeColumns( bool setAsMin = TRUE )
|
void AutoSizeColumns( bool setAsMin = TRUE )
|
||||||
{ (void)SetOrCalcColumnSizes(TRUE, setAsMin); }
|
{ (void)SetOrCalcColumnSizes(FALSE, setAsMin); }
|
||||||
|
|
||||||
void AutoSizeRows( bool setAsMin = TRUE )
|
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
|
// 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
|
// and also set the grid size to just fit its contents
|
||||||
|
Reference in New Issue
Block a user