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:
@@ -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() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user