This class is used for sorting data. It does not contain any data itself. Rather, it provides a sorted interface for another list model.
Currently, the sorting algorithm isn't thread safe. This needs to be fixed.
Derived from
wxDataViewListModel
wxDataViewModel
wxObject
Include files
<wx/dataview.h>
wxDataViewSortedListModel::wxDataViewSortedListModel
wxDataViewSortedListModel::~wxDataViewSortedListModel
wxDataViewSortedListModel::GetAscending
wxDataViewSortedListModel::Resort
wxDataViewSortedListModel::SetAscending
wxDataViewSortedListModel(wxDataViewListModel* child)
Constructor. child is the child data model the data of which this model is supposed to present in a sorted way.
~wxDataViewSortedListModel()
Destructor.
bool GetAscending()
Returns true if the data is sorted in ascending order.
void Resort()
Tell the model to resort its data.
void SetAscending(bool ascending)
Set the sort order of the data.