Remove asserts in wxMSW::wxTLW::SetIcons() and always set some icon.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Jul 2010 17:43:47 +0000 (17:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Jul 2010 17:43:47 +0000 (17:43 +0000)
commit7fb5d9e4cfee54c6d55e00b14c8c583285b1063f
tree48d4386ccf03883baa620588a34d4af6c4a8e051
parent7b8e38beef804733a5305c7709f360a284d31664
Remove asserts in wxMSW::wxTLW::SetIcons() and always set some icon.

In practice having the icons of the exact size for all versions of Windows is
not always possible, there are just too many of them. So set the icon of the
most suitable size if no exact match is found instead of asserting in this
case.

See #11146.

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