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:
parent
9461dd8c71
commit
c27050d2e3
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user