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

@@ -5162,6 +5162,31 @@ bool wxGenericListCtrl::SetColumnWidth( int col, int width )
return true;
}
// Column ordering functions
int wxGenericListCtrl::GetColumnOrder(int col) const
{
// TODO: Implement this on generic port
return col;
}
int wxGenericListCtrl::GetColumnIndexFromOrder(int order) const
{
// TODO: Implement this on generic port
return order;
}
wxArrayInt wxGenericListCtrl::GetColumnsOrder() const
{
// TODO: Implement this on generic port
return wxArrayInt();
}
bool wxGenericListCtrl::SetColumnsOrder(const wxArrayInt& WXUNUSED(orders))
{
// TODO: Implement this on generic port
return false;
}
int wxGenericListCtrl::GetCountPerPage() const
{
return m_mainWin->GetCountPerPage(); // different from Windows ?