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:
@@ -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
|
||||
|
Reference in New Issue
Block a user