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:
@@ -322,11 +322,7 @@ static int my_sort( int *v1, int *v2 )
|
|||||||
return *v1-*v2;
|
return *v1-*v2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#define INITIAL_NUMBER_OF_ITEMS 100000
|
||||||
#define INITIAL_NUMBER_OF_ITEMS 100
|
|
||||||
#else
|
|
||||||
#define INITIAL_NUMBER_OF_ITEMS 100000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
MyListModel::MyListModel() :
|
MyListModel::MyListModel() :
|
||||||
wxDataViewVirtualListModel( INITIAL_NUMBER_OF_ITEMS )
|
wxDataViewVirtualListModel( INITIAL_NUMBER_OF_ITEMS )
|
||||||
|
Reference in New Issue
Block a user