#include <wx/dataview.h>
wxDataViewVirtualListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem and as such offers the exact same interface as wxDataViewIndexListModel.
The important difference is that under platforms other than OS X, using this model will result in a truly virtual control able to handle millions of items as the control doesn't store any item (a feature not supported by the Carbon API under OS X).
Public Member Functions | |
wxDataViewVirtualListModel (unsigned int initial_size=0) | |
Constructor. | |
unsigned int | GetCount () const |
Returns the number of virtual items (i.e. |
wxDataViewVirtualListModel::wxDataViewVirtualListModel | ( | unsigned int | initial_size = 0 |
) |
Constructor.
unsigned int wxDataViewVirtualListModel::GetCount | ( | ) | const |
Returns the number of virtual items (i.e.
rows) in the list.
![]() |
[ top ] |