From 6cfb0d7d5fb4da538e05458df9e88f997a71bcb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 27 Sep 2007 15:19:26 +0000 Subject: [PATCH] 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 --- src/common/hash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hash.cpp b/src/common/hash.cpp index 9a538b0fd9..10120633e7 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]) = *(table.hash_table[i]); + hash_table[i]->Assign(*(table.hash_table[i])); } } }