X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..82a5f02c861e8d57ba8255a9553b941118ad4520:/include/wx/list.h 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; }