X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e812c32f56204dba7e107c7eb52563ce0a952999..a17305ea876e64131467348b24f25929f98986d7:/docs/doxygen/overviews/grid.h?ds=sidebyside diff --git a/docs/doxygen/overviews/grid.h b/docs/doxygen/overviews/grid.h index d5ea310988..70b886d17a 100644 --- a/docs/doxygen/overviews/grid.h +++ b/docs/doxygen/overviews/grid.h @@ -3,7 +3,7 @@ // Purpose: topic overview // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -143,12 +143,15 @@ to fit its contents with wxGrid::AutoSizeRow() or do it for all rows at once with wxGrid::AutoSizeRows(). Additionally, by default the user can also drag the row separator lines to -resize the rows interactively. This can be forbidden by calling -wxGrid::DisableDragRowSize(). If you do allow the user to resize the grid rows, -it may be a good idea to save their heights and restore it when the grid is -recreated the next time (possibly during a next program execution): the -functions wxGrid::GetRowSizes() and wxGrid::SetRowSizes() can help with this, -you will just need to serialize wxGridSizesInfo structure returned by the -former in some way and deserialize it back before calling the latter. +resize the rows interactively. This can be forbidden completely by calling +wxGrid::DisableDragRowSize() or just for the individual rows using +wxGrid::DisableRowResize(). + +If you do allow the user to resize the grid rows, it may be a good idea to save +their heights and restore it when the grid is recreated the next time (possibly +during a next program execution): the functions wxGrid::GetRowSizes() and +wxGrid::SetRowSizes() can help with this, you will just need to serialize +wxGridSizesInfo structure returned by the former in some way and deserialize it +back before calling the latter. */