Many more corrections and clarifications to virtual index list model use

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-06-16 17:59:09 +00:00
parent bba6891c84
commit 9330d5afb6
4 changed files with 51 additions and 45 deletions

View File

@@ -274,11 +274,11 @@ public:
// internal
virtual bool IsVirtualListModel() const { return false; }
unsigned int GetLastIndex() const { return m_lastIndex; }
unsigned int GetCount() const { return m_hash.GetCount(); }
private:
wxDataViewItemArray m_hash;
unsigned int m_lastIndex;
unsigned int m_nextFreeID;
bool m_ordered;
};
@@ -339,11 +339,10 @@ public:
// internal
virtual bool IsVirtualListModel() const { return true; }
unsigned int GetLastIndex() const { return m_lastIndex; }
unsigned int GetCount() const { return m_size; }
private:
wxDataViewItemArray m_hash;
unsigned int m_lastIndex;
unsigned int m_size;
bool m_ordered;
};
#endif