improved const-ness of find/Find functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2004-04-15 11:05:13 +00:00
parent 28b6885216
commit 22d080f35b
2 changed files with 5 additions and 5 deletions

View File

@@ -345,7 +345,7 @@ wxNodeBase *wxListBase::Find(const wxListKey& key) const
return (wxNodeBase *)NULL;
}
wxNodeBase *wxListBase::Find(void *object) const
wxNodeBase *wxListBase::Find(const void *object) const
{
for ( wxNodeBase *current = GetFirst(); current; current = current->GetNext() )
{