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

@@ -68,6 +68,14 @@ public:
bool SetColumn( int col, const wxListItem& item ) wxOVERRIDE;
int GetColumnWidth( int col ) const wxOVERRIDE;
bool SetColumnWidth( int col, int width) wxOVERRIDE;
// Column ordering functions
int GetColumnOrder(int col) const wxOVERRIDE;
int GetColumnIndexFromOrder(int order) const wxOVERRIDE;
wxArrayInt GetColumnsOrder() const wxOVERRIDE;
bool SetColumnsOrder(const wxArrayInt& orders) wxOVERRIDE;
int GetCountPerPage() const; // not the same in wxGLC as in Windows, I think
wxRect GetViewRect() const;