Remove asserts in wxChoicebook::Get/SetPageImage().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Dec 2009 21:12:06 +0000 (21:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Dec 2009 21:12:06 +0000 (21:12 +0000)
commitc15cc7fa26aca73d2eab742e3d4f2e633c1af455
treef2202f38577fa15913b2f75a87b08cf0e22b206a
parentc59422a40f0a3b11d6c38993f09b3a36b30f8322
Remove asserts in wxChoicebook::Get/SetPageImage().

It's better to silently return an error code than assert when these methods
are called as their failure is relatively harmless and the user code may call
them via base class pointer without caring if it works with a control which
supports images or not.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/choicbkg.cpp