From ad259ba5b263acd502b2bad4c73e58e00d353702 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 27 Sep 2007 15:01:12 +0000 Subject: [PATCH] copy the list in wxList::operator=(), for consistency with typed macro-based lists git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/list.h b/include/wx/list.h index 3bd75b3957..d607fe330f 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -1182,7 +1182,7 @@ public: #if !wxUSE_STL wxList& operator=(const wxList& list) - { (void) wxListBase::operator=(list); return *this; } + { Assign(list); return *this; } // compatibility methods void Sort(wxSortCompareFunction compfunc) { wxListBase::Sort(compfunc); } -- 2.45.2