From dfcffe7783e6b1eafb3ed78afbe3a722b27a6bb6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 2 Sep 2016 10:33:00 -0700 Subject: [PATCH] Add missing methods in wxGridCellAttr --- interface/wx/grid.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 70710d7ea5..201c79a8d6 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -771,7 +771,10 @@ public: Row, /// Return the attribute set for this cells column. - Col + Col, + + Default, + Merged }; /** @@ -948,6 +951,22 @@ public: */ 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: /**