Playing with wxgrid, adding optionnally native columns labels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-12-20 15:05:03 +00:00
parent ac209a0f70
commit 71cf399ff0
4 changed files with 99 additions and 75 deletions

View File

@@ -1312,6 +1312,7 @@ 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 SetLabelBackgroundColour( const wxColour& );
@@ -1834,6 +1835,8 @@ protected:
int m_minAcceptableColWidth;
wxArrayInt m_colWidths;
wxArrayInt m_colRights;
bool m_nativeColumnLabels;
// get the col/row coords
int GetColWidth(int col) const;