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.
|