]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected wxStringListBase implementation of
authorMattia Barbon <mbarbon@cpan.org>
Sat, 5 Mar 2005 16:09:20 +0000 (16:09 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 5 Mar 2005 16:09:20 +0000 (16:09 +0000)
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

src/common/list.cpp

index 337a8db96306d668058e5659c6dfa72e2ccb3df2..9c5603a0faf1183187d15fc03e56819dfaed8f49 100644 (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