X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5eaf557448ae29e029a4b504abb845d5e0e7293..1e40f6676a0e403bf9f98ab44d40edab0811499b:/include/wx/list.h?ds=sidebyside diff --git a/include/wx/list.h b/include/wx/list.h index 3bd75b3957..d607fe330f 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -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); }