applied patch 444915 (warning fixes for gcc 2.95.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,7 +249,7 @@ public:
|
||||
|
||||
protected:
|
||||
// copy ctor and assignment operator
|
||||
wxListBase(const wxListBase& list)
|
||||
wxListBase(const wxListBase& list) : wxObject()
|
||||
{ Init(); DoCopy(list); }
|
||||
wxListBase& operator=(const wxListBase& list)
|
||||
{ Clear(); DoCopy(list); return *this; }
|
||||
@@ -514,7 +514,7 @@ public:
|
||||
|
||||
// copying the string list: the strings are copied, too (extremely
|
||||
// inefficient!)
|
||||
wxStringList(const wxStringList& other) { DeleteContents(TRUE); DoCopy(other); }
|
||||
wxStringList(const wxStringList& other) : wxStringListBase() { DeleteContents(TRUE); DoCopy(other); }
|
||||
wxStringList& operator=(const wxStringList& other)
|
||||
{ Clear(); DoCopy(other); return *this; }
|
||||
|
||||
|
Reference in New Issue
Block a user