From bfb9ad8b605f4cc272b991b5ca8b9d9b949bde94 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 5 Mar 2009 23:41:27 +0000 Subject: [PATCH] 2nd (blind) fix for VC6 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59358 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 5d5bb2884e..8edbc1e1f1 100644 --- a/samples/dataview/mymodels.cpp +++ b/samples/dataview/mymodels.cpp @@ -351,7 +351,7 @@ void MyListModel::DeleteItems( const wxDataViewItemArray &items ) { unsigned i; wxArrayInt rows; - for (int i = 0; i < items.GetCount(); i++) + for (i = 0; i < items.GetCount(); i++) { unsigned int row = GetRow( items[i] ); if (row < m_array.GetCount())