X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7d4ca810570664b68f7a4f0f11d2a5a64aa6163..dd72e7678d1f4fd36c4753373b2b22b59491f5a7:/interface/wx/grid.h diff --git a/interface/wx/grid.h b/interface/wx/grid.h index cdb63e8b3a..da7bf9a117 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -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.