diff --git a/src/common/hash.cpp b/src/common/hash.cpp index 10120633e7..779f48169d 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -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]->Assign(*(table.hash_table[i])); + *hash_table[i] = *(table.hash_table[i]); } } }