From 8bf6f0445121154265ff42906f3840dd17d33b09 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Wed, 4 Mar 2009 23:23:28 +0000 Subject: [PATCH] build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dataview/mymodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/dataview/mymodels.cpp b/samples/dataview/mymodels.cpp index 282e4e8a87..396850cf41 100644 --- a/samples/dataview/mymodels.cpp +++ b/samples/dataview/mymodels.cpp @@ -369,7 +369,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 (i = 0; i < rows.GetCount(); i++) + for (unsigned int i = 0; i < rows.GetCount(); i++) m_array.RemoveAt( rows[i] ); // This is just to test if wxDataViewCtrl can -- 2.45.2