Use virtual items in wxDVC sample under Mac too.

There doesn't seem to be any reason to not use them and having different
appearance under OS X and elsewhere is just confusing and looks like a bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-10-24 01:02:31 +00:00
parent 9461dd8c71
commit c27050d2e3

View File

@ -322,11 +322,7 @@ static int my_sort( int *v1, int *v2 )
return *v1-*v2;
}
#ifdef __WXMAC__
#define INITIAL_NUMBER_OF_ITEMS 100
#else
#define INITIAL_NUMBER_OF_ITEMS 100000
#endif
#define INITIAL_NUMBER_OF_ITEMS 100000
MyListModel::MyListModel() :
wxDataViewVirtualListModel( INITIAL_NUMBER_OF_ITEMS )