]> git.saurik.com Git - wxWidgets.git/commit
Fix restoring the status bar help message after closing MSW menu from keyboard.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2013 12:28:06 +0000 (12:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2013 12:28:06 +0000 (12:28 +0000)
commit1e5b533ec0a5b459fe2ac58abd6f21e5b1e51a92
treefd6294ebedd16ce1db8a7821bd67761d16c32677
parenta98d0574342fdb01f52cae0779ed068d2559660d
Fix restoring the status bar help message after closing MSW menu from keyboard.

Add a hack to ignore WM_MENUSELECT messages we get for the top level menu
items: we must not clear the status bar help message when we get those because
it had just been restored to the original message that was there before the
menu was opened from the base class wxEVT_MENU_CLOSE handler, but this message
comes after it when keyboard is used to close the menu.

Closes #15315.

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