]> git.saurik.com Git - wxWidgets.git/commit
Fix changing the size of the bitmaps in wxMSW wxButton.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:39 +0000 (11:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:39 +0000 (11:54 +0000)
commitce39ca74bc413b8a5574f733cd9a44e7b1e9beff
tree75f3c04c63a1624d423c562efb0fbf9b0e77fec6
parent32eec436ed2ed090910c44326cc91389a75fa1f2
Fix changing the size of the bitmaps in wxMSW wxButton.

The size of the wxImageList used to store the bitmaps wasn't updated before
and so the old bitmap size continued to be used even after changing the actual
bitmaps.

Recreate wxXPButtonImageData to ensure that the image list size does change.

Closes #12909.

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