Don't assume any particular default size for XRC image lists.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Oct 2010 18:56:13 +0000 (18:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Oct 2010 18:56:13 +0000 (18:56 +0000)
commitfe97acf0e3b423984fb615c0ce060d9f00f6f0f8
tree500328d112de22f46f32a1d3863f1edb1bf9a53a
parent814bfbb9c08b6b20c8c626f9c0dd8b1660a0b55e
Don't assume any particular default size for XRC image lists.

Let the image list deduce its size from the first bitmap in it. This is better
than the old behaviour of using the standard icon size as it allows to omit
the size from the image lists provided they contain the bitmaps of the same
size.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/doxygen/overviews/xrc_format.h
src/xrc/xmlres.cpp