no changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-08-31 13:47:11 +00:00
parent 29e1f68933
commit b653e655aa

View File

@@ -1515,7 +1515,8 @@ long wxListCtrl::InsertItem(wxListItem& info)
}; };
long rv = ListView_InsertItem(GetHwnd(), & item); long rv = ListView_InsertItem(GetHwnd(), & item);
m_count += 1;
m_count++;
wxASSERT_MSG( m_count == ListView_GetItemCount(GetHwnd()), wxASSERT_MSG( m_count == ListView_GetItemCount(GetHwnd()),
wxT("m_count should match ListView_GetItemCount")); wxT("m_count should match ListView_GetItemCount"));