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
This commit is contained in:
Vadim Zeitlin
2010-10-23 18:56:13 +00:00
parent 814bfbb9c0
commit fe97acf0e3
2 changed files with 20 additions and 12 deletions

View File

@@ -934,7 +934,7 @@ The available properties are:
@row3col{mask, @ref overview_xrcformat_type_bool,
If masks should be created for all images (default: true).}
@row3col{size, @ref overview_xrcformat_type_size,
The size of the images in the list (default: system default icon size)).}
The size of the images in the list (default: the size of the first bitmap).}
@endTable
Example: