GetItemCount is int.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-07-19 09:42:25 +00:00
parent 67a9999283
commit c7cf7a783b

View File

@ -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)