Add CanOverflow function to wxGridCellAttr
Add function to determine whether the cell will draw the overflowed text to neighbour cells. Note that only left aligned cells currently can overflow.
This commit is contained in:
committed by
Vadim Zeitlin
parent
249e5add7e
commit
a40acbb28e
@@ -570,6 +570,9 @@ public:
|
||||
void GetSize(int *num_rows, int *num_cols) const;
|
||||
wxGridFitMode GetFitMode() const;
|
||||
bool GetOverflow() const { return GetFitMode().IsOverflow(); }
|
||||
// whether the cell will draw the overflowed text to neighbour cells
|
||||
// currently only left aligned cells can overflow
|
||||
bool CanOverflow() const;
|
||||
wxGridCellRenderer *GetRenderer(const wxGrid* grid, int row, int col) const;
|
||||
wxGridCellEditor *GetEditor(const wxGrid* grid, int row, int col) const;
|
||||
|
||||
|
Reference in New Issue
Block a user