build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-03-04 23:23:28 +00:00
parent 81c3f0fce3
commit 8bf6f04451

View File

@@ -369,7 +369,7 @@ void MyListModel::DeleteItems( const wxDataViewItemArray &items )
// row will be deleted first. Otherwise the // row will be deleted first. Otherwise the
// remaining indeces would all be wrong. // remaining indeces would all be wrong.
rows.Sort( my_sort_reverse ); rows.Sort( my_sort_reverse );
for (i = 0; i < rows.GetCount(); i++) for (unsigned int i = 0; i < rows.GetCount(); i++)
m_array.RemoveAt( rows[i] ); m_array.RemoveAt( rows[i] );
// This is just to test if wxDataViewCtrl can // This is just to test if wxDataViewCtrl can