From: Mattia Barbon Date: Sat, 5 Mar 2005 16:09:20 +0000 (+0000) Subject: Corrected wxStringListBase implementation of X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3543c79e6fe198f70130e13c9a2ea68754ba6274?ds=inline Corrected wxStringListBase implementation of DeleteFunction. Since wxStringList, when wxUSE_STL == 1 is a list of object (not pointers to objects) it requires and empty DeleteFunction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/list.cpp b/src/common/list.cpp index 337a8db963..9c5603a0fa 100644 --- a/src/common/list.cpp +++ b/src/common/list.cpp @@ -760,7 +760,11 @@ wxNode *wxStringList::Prepend(const wxChar *s) #include WX_DEFINE_LIST(wxObjectList); - WX_DEFINE_LIST(wxStringListBase); + +// with wxUSE_STL wxStringList contains wxString objects, not pointers +void wxStringListBase::DeleteFunction( const wxString X ) +{ +} #endif // !wxUSE_STL