From: Włodzimierz Skiba Date: Mon, 19 Jul 2004 09:42:25 +0000 (+0000) Subject: GetItemCount is int. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c7cf7a783becd1e88bc548dbd99b8b37e7e11f48 GetItemCount is int. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)