fix for wxList copy ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-01-04 18:46:53 +00:00
parent 9c31977bcc
commit 6108b321fc

View File

@@ -247,7 +247,7 @@ public:
protected: protected:
// copy ctor and assignment operator // copy ctor and assignment operator
wxListBase(const wxListBase& list) wxListBase(const wxListBase& list)
{ DoCopy(list); } { Init(); DoCopy(list); }
wxListBase& operator=(const wxListBase& list) wxListBase& operator=(const wxListBase& list)
{ Clear(); DoCopy(list); return *this; } { Clear(); DoCopy(list); return *this; }