added the possibility to draw grid lines across the entire window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1358,6 +1358,26 @@ public:
|
||||
*/
|
||||
bool AppendRows(int numRows = 1, bool updateLabels = true);
|
||||
|
||||
/**
|
||||
Return @true if the horizontal grid lines stop at the last column
|
||||
boundary or @false if they continue to the end of the window.
|
||||
|
||||
The default is to clip grid lines.
|
||||
|
||||
@see ClipHorzGridLines(), AreVertGridLinesClipped()
|
||||
*/
|
||||
bool AreHorzGridLinesClipped() const;
|
||||
|
||||
/**
|
||||
Return @true if the vertical grid lines stop at the last row
|
||||
boundary or @false if they continue to the end of the window.
|
||||
|
||||
The default is to clip grid lines.
|
||||
|
||||
@see ClipVertGridLines(), AreHorzGridLinesClipped()
|
||||
*/
|
||||
bool AreVertGridLinesClipped() const;
|
||||
|
||||
/**
|
||||
Automatically sets the height and width of all rows and columns to fit their
|
||||
contents.
|
||||
@@ -1504,6 +1524,30 @@ public:
|
||||
*/
|
||||
void ClearSelection();
|
||||
|
||||
/**
|
||||
Change whether the horizontal grid lines are clipped by the end of the
|
||||
last column.
|
||||
|
||||
By default the grid lines are not drawn beyond the end of the last
|
||||
column but after calling this function with @a clip set to @false they
|
||||
will be drawn across the entire grid window.
|
||||
|
||||
@see AreHorzGridLinesClipped(), ClipVertGridLines()
|
||||
*/
|
||||
void ClipHorzGridLines(bool clip);
|
||||
|
||||
/**
|
||||
Change whether the vertical grid lines are clipped by the end of the
|
||||
last row.
|
||||
|
||||
By default the grid lines are not drawn beyond the end of the last
|
||||
row but after calling this function with @a clip set to @false they
|
||||
will be drawn across the entire grid window.
|
||||
|
||||
@see AreVertzGridLinesClipped(), ClipHorzGridLines()
|
||||
*/
|
||||
void ClipVertzGridLines(bool clip);
|
||||
|
||||
/**
|
||||
Creates a grid with the specified initial number of rows and columns.
|
||||
|
||||
|
Reference in New Issue
Block a user