wxDataViewSortedListModelThis 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 Include files <wx/dataview.h>
wxDataViewSortedListModel::wxDataViewSortedListModel
wxDataViewSortedListModel::wxDataViewSortedListModelwxDataViewSortedListModel(wxDataViewListModel* child) Constructor. child is the child data model the data of which this model is supposed to present in a sorted way.
wxDataViewSortedListModel::~wxDataViewSortedListModel~wxDataViewSortedListModel() Destructor.
wxDataViewSortedListModel::GetAscendingbool GetAscending() Returns true if the data is sorted in ascending order.
wxDataViewSortedListModel::Resortvoid Resort() Tell the model to resort its data.
wxDataViewSortedListModel::SetAscendingvoid SetAscending(bool ascending) Set the sort order of the data.
|