wxGrid::AutoSize() added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-26 21:00:07 +00:00
parent d5a5af9d39
commit 57c086ef99
3 changed files with 42 additions and 10 deletions

View File

@@ -1080,6 +1080,12 @@ public:
// auto size all columns (very ineffective for big grids!)
void AutoSizeColumns( bool setAsMin = TRUE );
void AutoSizeRows( bool setAsMin = TRUE );
// 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
void AutoSize();
// column won't be resized to be lesser width - this must be called during
// the grid creation because it won't resize the column if it's already
// narrower than the minimal width