added helper Is{Col,Row}Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1485,8 +1485,10 @@ public:
|
|||||||
//
|
//
|
||||||
int GetDefaultRowSize() const;
|
int GetDefaultRowSize() const;
|
||||||
int GetRowSize( int row ) const;
|
int GetRowSize( int row ) const;
|
||||||
|
bool IsRowShown(int row) const { return GetRowSize(row) != 0; }
|
||||||
int GetDefaultColSize() const;
|
int GetDefaultColSize() const;
|
||||||
int GetColSize( int col ) const;
|
int GetColSize( int col ) const;
|
||||||
|
bool IsColShown(int col) const { return GetColSize(col) != 0; }
|
||||||
wxColour GetDefaultCellBackgroundColour() const;
|
wxColour GetDefaultCellBackgroundColour() const;
|
||||||
wxColour GetCellBackgroundColour( int row, int col ) const;
|
wxColour GetCellBackgroundColour( int row, int col ) const;
|
||||||
wxColour GetDefaultCellTextColour() const;
|
wxColour GetDefaultCellTextColour() const;
|
||||||
|
@@ -2014,6 +2014,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
int GetColSize(int col) const;
|
int GetColSize(int col) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns @true if the specified column is not currently hidden.
|
||||||
|
*/
|
||||||
|
bool IsColShown(int col) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the default height for column labels.
|
Returns the default height for column labels.
|
||||||
*/
|
*/
|
||||||
@@ -2054,6 +2059,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
int GetRowSize(int row) const;
|
int GetRowSize(int row) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns @true if the specified row is not currently hidden.
|
||||||
|
*/
|
||||||
|
bool IsRowShown(int row) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the height of the column labels.
|
Sets the height of the column labels.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user