]> git.saurik.com Git - wxWidgets.git/commit
Fix changing labels of menu items with bitmaps in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jan 2013 02:09:39 +0000 (02:09 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Jan 2013 02:09:39 +0000 (02:09 +0000)
commitf1a062a1faf57333f7b5e14764e3ef32a274a4bc
treee56dae3b5fdcaeda5b5dd1dcf3ce5761a4268c47
parent71b619d7f464dca60f58b603a46c53293d8e3011
Fix changing labels of menu items with bitmaps in wxMSW.

We need to call SetMenuItemInfo() from wxMenuItem::SetItemLabel() even for the
owner-drawn items, otherwise their width is not recomputed.

Closes #3897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/menuitem.cpp