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; }
{
public:
wxList(int key_type = wxKEY_NONE) : wxObjectList((wxKeyType)key_type) { }
-#ifdef __WXMAC_X__
- ~wxList() {} // Added min for Mac X
+#ifdef __DARWIN__
+ ~wxList() { }
#endif
wxList& operator=(const wxList& list)
// 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; }