]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
applied patch 417699 (remove WXDLLEXPORT from inline functions)
[wxWidgets.git] / include / wx / list.h
index d475c569b44f4822fae39bf18e9b7f3aaa296a8a..f5bf5336cc3d198d6f94fc9aa86cc79f74a06885 100644 (file)
@@ -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; }
 
@@ -484,6 +484,9 @@ class WXDLLEXPORT wxList : public wxObjectList
 {
 public:
     wxList(int key_type = wxKEY_NONE) : wxObjectList((wxKeyType)key_type) { }
+#ifdef __WXMAC_X__
+   ~wxList() {}   // Added min for Mac X
+#endif
 
     wxList& operator=(const wxList& list)
         { return (wxList&)wxListBase::operator=(list); }