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:
parent
67a9999283
commit
c7cf7a783b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user