DeleteFunction argument should be non-const since it

is deleted inside the function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2006-02-03 18:26:55 +00:00
parent f219764488
commit 1794103bab
3 changed files with 3 additions and 10 deletions

View File

@@ -758,7 +758,7 @@ wxNode *wxStringList::Prepend(const wxChar *s)
WX_DEFINE_LIST(wxObjectList)
// with wxUSE_STL wxStringList contains wxString objects, not pointers
void wxStringListBase::DeleteFunction( _WX_DELETEFUNCTIONCONST wxString WXUNUSED(X) )
void wxStringListBase::DeleteFunction( wxString WXUNUSED(X) )
{
}