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
@@ -1234,6 +1234,18 @@ public:
|
||||
*/
|
||||
bool GetOverflow() const;
|
||||
|
||||
/**
|
||||
Returns @true if the cell will draw an overflowed text into the
|
||||
neighbouring cells.
|
||||
|
||||
Note that only left aligned cells currenty can overflow. It means that
|
||||
GetFitMode().IsOverflow() should returns true and GetAlignment should
|
||||
returns wxALIGN_LEFT for hAlign parameter.
|
||||
|
||||
@since 3.1.4
|
||||
*/
|
||||
bool CanOverflow() const;
|
||||
|
||||
wxAttrKind GetKind();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user