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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user