optimise startup of wxDataViewIndexListModel

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-11-15 15:03:48 +00:00
parent 5ef723747c
commit 517166e678
2 changed files with 30 additions and 1 deletions

View File

@@ -255,7 +255,7 @@ public:
virtual int Compare( const wxDataViewItem &item1, const wxDataViewItem &item2,
unsigned int column, bool ascending );
virtual bool HasDefaultCompare() const { return true; }
virtual bool HasDefaultCompare() const;
// implement base methods
@@ -271,6 +271,7 @@ public:
private:
wxDataViewItemArray m_hash;
unsigned int m_lastIndex;
bool m_ordered;
};