]> git.saurik.com Git - wxWidgets.git/commit
Specify correct size for disabled image list in wxMSW wxToolBar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:45:19 +0000 (12:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:45:19 +0000 (12:45 +0000)
commitf87ddf1834c677a33f0c8d243d580d6d105447ef
treebc74f17a49e1c83f2fa66bd1d0742cfdc4433cf6
parent0429e043a80dface19685cd612a400df34c50d59
Specify correct size for disabled image list in wxMSW wxToolBar.

Use the real bitmap size instead of the default tool size when creating the
disabled image list as the actual bitmap size could be less than the default
one and in this case adding images to the image list later would fail (as
could be seen by using custom bitmaps in the toolbar sample).

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