(blind) fix for VC6 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -349,8 +349,9 @@ void MyListModel::DeleteItem( const wxDataViewItem &item )
|
||||
|
||||
void MyListModel::DeleteItems( const wxDataViewItemArray &items )
|
||||
{
|
||||
unsigned i;
|
||||
wxArrayInt rows;
|
||||
for (unsigned int i = 0; i < items.GetCount(); i++)
|
||||
for (int i = 0; i < items.GetCount(); i++)
|
||||
{
|
||||
unsigned int row = GetRow( items[i] );
|
||||
if (row < m_array.GetCount())
|
||||
@@ -369,7 +370,7 @@ void MyListModel::DeleteItems( const wxDataViewItemArray &items )
|
||||
// row will be deleted first. Otherwise the
|
||||
// remaining indeces would all be wrong.
|
||||
rows.Sort( my_sort_reverse );
|
||||
for (unsigned int i = 0; i < rows.GetCount(); i++)
|
||||
for (i = 0; i < rows.GetCount(); i++)
|
||||
m_array.RemoveAt( rows[i] );
|
||||
|
||||
// This is just to test if wxDataViewCtrl can
|
||||
|
Reference in New Issue
Block a user