From bf47204759648845735379c977e76b7e2d1f34cd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 8 Oct 2012 12:09:59 +0000 Subject: [PATCH] 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 --- interface/wx/grid.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 4bda2cb709..dc25dbd3fd 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -2810,6 +2810,13 @@ public: */ 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. */ @@ -2835,6 +2842,11 @@ public: */ bool IsColShown(int col) const; + /** + Returns @true if the cells can overflow by default. + */ + bool GetDefaultCellOverflow() const; + /** Returns the default height for column labels. */ @@ -2880,6 +2892,11 @@ public: */ 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. @@ -2947,6 +2964,11 @@ public: 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. -- 2.47.2