]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
compilation fix for wxUSE_STL==1 build
[wxWidgets.git] / include / wx / list.h
index 3bd75b3957d8096c5a943d7585a61b4023282d25..d607fe330fbe200421386f5d8da83a9721b3c392 100644 (file)
@@ -1182,7 +1182,7 @@ public:
 
 #if !wxUSE_STL
     wxList& operator=(const wxList& list)
-        { (void) wxListBase::operator=(list); return *this; }
+        { Assign(list); return *this; }
 
     // compatibility methods
     void Sort(wxSortCompareFunction compfunc) { wxListBase::Sort(compfunc); }