Introduce ABI shims for wxListCtrl column ordering functions

This way it is easier to add the functions later on without
breaking ABI.
This commit is contained in:
Ian McInerney
2021-04-17 19:33:25 +01:00
committed by Vadim Zeitlin
parent e0ef3830c1
commit 797bc2c087
5 changed files with 49 additions and 8 deletions

View File

@@ -399,6 +399,14 @@ public:
virtual int GetColumnWidth(int col) const = 0;
virtual bool SetColumnWidth(int col, int width) = 0;
// Column ordering functions
virtual int GetColumnOrder(int col) const = 0;
virtual int GetColumnIndexFromOrder(int order) const = 0;
virtual wxArrayInt GetColumnsOrder() const = 0;
virtual bool SetColumnsOrder(const wxArrayInt& orders) = 0;
// Other miscellaneous accessors.
// ------------------------------