Set m_count to zero in DeleteAllItems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-02-08 15:03:18 +00:00
parent 0e2e3ffd64
commit 2e3a3b9aff

View File

@@ -1265,6 +1265,7 @@ bool wxListCtrl::DeleteItem(long item)
// Deletes all items
bool wxListCtrl::DeleteAllItems()
{
m_count=0;
return ListView_DeleteAllItems(GetHwnd()) != 0;
}