Moved fix from 2.2 branch that allows the attributes in MSW wxListCtrl

to move with their items when the list is sorted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-08-14 05:35:09 +00:00
parent abb69c6c82
commit 19230604c4
2 changed files with 71 additions and 5 deletions

View File

@@ -681,11 +681,14 @@ void wxHashTable::DeleteContents (bool flag)
void wxHashTable::Clear ()
{
int i;
for (i = 0; i < n; i++)
int i;
if (hash_table)
{
if (hash_table[i])
hash_table[i]->Clear ();
for (i = 0; i < n; i++)
{
if (hash_table[i])
hash_table[i]->Clear ();
}
}
m_count = 0;
}