From c27050d2e3bc84da49f662c5e79fe4542be02337 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Oct 2009 01:02:31 +0000 Subject: [PATCH] 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 --- samples/dataview/mymodels.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/samples/dataview/mymodels.cpp b/samples/dataview/mymodels.cpp index 0424b24936..11ee266e45 100644 --- a/samples/dataview/mymodels.cpp +++ b/samples/dataview/mymodels.cpp @@ -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 )