Document wxGrid methods dealing with cell overflow.

Closes #14733.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-08 12:09:59 +00:00
parent bb03d283be
commit bf47204759

View File

@@ -2810,6 +2810,13 @@ public:
*/ */
void AutoSizeRows(bool setAsMin = true); void AutoSizeRows(bool setAsMin = true);
/**
Returns @true if the cell value can overflow.
A cell can overflow if the next cell in the row is empty.
*/
bool GetCellOverflow(int row, int col) const;
/** /**
Returns the current height of the column labels. Returns the current height of the column labels.
*/ */
@@ -2835,6 +2842,11 @@ public:
*/ */
bool IsColShown(int col) const; bool IsColShown(int col) const;
/**
Returns @true if the cells can overflow by default.
*/
bool GetDefaultCellOverflow() const;
/** /**
Returns the default height for column labels. Returns the default height for column labels.
*/ */
@@ -2880,6 +2892,11 @@ public:
*/ */
bool IsRowShown(int row) const; bool IsRowShown(int row) const;
/**
Sets the overflow permission of the cell.
*/
void SetCellOverflow(int row, int col, bool allow);
/** /**
Sets the height of the column labels. Sets the height of the column labels.
@@ -2947,6 +2964,11 @@ public:
void ShowCol(int col); void ShowCol(int col);
/**
Sets the default overflow permission of the cells.
*/
void SetDefaultCellOverflow( bool allow );
/** /**
Sets the default width for columns in the grid. Sets the default width for columns in the grid.