X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d5a1b0ab86a199a032340bb830c46edc8a45b7e..2ef989c972df0bd023ec3b7252fb91afca55f8ab:/include/wx/generic/grid.h diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index c78fe9494d..bdb2e1ff7b 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -1312,8 +1312,11 @@ public: int GetCellHighlightPenWidth() const { return m_cellHighlightPenWidth; } int GetCellHighlightROPenWidth() const { return m_cellHighlightROPenWidth; } + void SetUseNativeColLabels( bool native = true ); void SetRowLabelSize( int width ); void SetColLabelSize( int height ); + void HideRowLabels() { SetRowLabelSize( 0 ); } + void HideColLabels() { SetColLabelSize( 0 ); } void SetLabelBackgroundColour( const wxColour& ); void SetLabelTextColour( const wxColour& ); void SetLabelFont( const wxFont& ); @@ -1834,6 +1837,8 @@ protected: int m_minAcceptableColWidth; wxArrayInt m_colWidths; wxArrayInt m_colRights; + + bool m_nativeColumnLabels; // get the col/row coords int GetColWidth(int col) const;