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
This commit is contained in:
Mattia Barbon
2005-03-05 16:09:20 +00:00
parent f455ffb2da
commit 3543c79e6f

View File

@@ -760,7 +760,11 @@ wxNode *wxStringList::Prepend(const wxChar *s)
#include <wx/listimpl.cpp>
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