Change return type of wxList::Member() to bool.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Sep 2009 17:10:58 +0000 (17:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Sep 2009 17:10:58 +0000 (17:10 +0000)
commit0f08aa44323c65b92cbef304c59b742af8fd717c
treeb4ea3ccc4db41a1c5296bed46b1a768c00572bd1
parent29106845fcfdee6a152cf24be872bac6696a6686
Change return type of wxList::Member() to bool.

It used to return a pointer in wxUSE_STL==0 build and an object in
wxUSE_STL==1 one making checking its return value difficult without provoking
warnings from either MSVC or g++ (see #11038).

Also, all the other occurrences of Member() already returned bool, including
the one in wxStringList so changing it to return bool in wxList itself is more
consistent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/list.h
interface/wx/list.h
src/common/appbase.cpp