From 6108b321fc61c42c40ba5ea41a278abc8af3f47e Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Thu, 4 Jan 2001 18:46:53 +0000
Subject: [PATCH] fix for wxList copy ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9049 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 d475c569b4..23ab3e1ff8 100644
--- a/include/wx/list.h
+++ b/include/wx/list.h
@@ -247,7 +247,7 @@ public:
 protected:
         // copy ctor and assignment operator
     wxListBase(const wxListBase& list)
-        { DoCopy(list); }
+        { Init(); DoCopy(list); }
     wxListBase& operator=(const wxListBase& list)
         { Clear(); DoCopy(list); return *this; }
 
-- 
2.47.2