Add missing methods in wxGridCellAttr
This commit is contained in:
@@ -771,7 +771,10 @@ public:
|
|||||||
Row,
|
Row,
|
||||||
|
|
||||||
/// Return the attribute set for this cells column.
|
/// Return the attribute set for this cells column.
|
||||||
Col
|
Col,
|
||||||
|
|
||||||
|
Default,
|
||||||
|
Merged
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -948,6 +951,22 @@ public:
|
|||||||
*/
|
*/
|
||||||
void SetTextColour(const wxColour& colText);
|
void SetTextColour(const wxColour& colText);
|
||||||
|
|
||||||
|
|
||||||
|
void MergeWith(wxGridCellAttr *mergefrom);
|
||||||
|
|
||||||
|
void SetSize(int num_rows, int num_cols);
|
||||||
|
void SetOverflow(bool allow = true);
|
||||||
|
void SetKind(wxAttrKind kind);
|
||||||
|
|
||||||
|
bool HasReadWriteMode() const;
|
||||||
|
bool HasOverflowMode() const;
|
||||||
|
bool HasSize() const;
|
||||||
|
|
||||||
|
void GetSize(int *num_rows, int *num_cols) const;
|
||||||
|
bool GetOverflow() const;
|
||||||
|
wxAttrKind GetKind();
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user