use Assign to copy wxLists, operator= is broken (and can't be fixed in 2.8 in binary compatible way, because it's inline

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-09-27 15:19:26 +00:00
parent 34b7782e3b
commit 6cfb0d7d5f

View File

@@ -406,7 +406,7 @@ void wxHashTable::DoCopy(const wxHashTable& table)
hash_table[i] = NULL;
else {
hash_table[i] = new wxList(key_type);
*(hash_table[i]) = *(table.hash_table[i]);
hash_table[i]->Assign(*(table.hash_table[i]));
}
}
}