From c7cf7a783becd1e88bc548dbd99b8b37e7e11f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 19 Jul 2004 09:42:25 +0000 Subject: [PATCH] GetItemCount is int. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 4e3588f7e3..83f14c0b82 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4320,7 +4320,7 @@ void wxListMainWindow::InsertItem( wxListItem &item ) { wxASSERT_MSG( !IsVirtual(), _T("can't be used with virtual control") ); - size_t count = GetItemCount(); + int count = GetItemCount(); wxCHECK_RET( item.m_itemId >= 0, _T("invalid item index") ); if (item.m_itemId > count)