Fix bug with using incorrect negative ids in wxEVT_MENU_HIGHLIGHT events.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Apr 2010 11:21:25 +0000 (11:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Apr 2010 11:21:25 +0000 (11:21 +0000)
commitf6a86afff41a67fdd2345803d7bf822de6d244ce
tree2ae903d2afea9005b0b0aaebea2bafbcc28d3b67
parentfa5f4858288ebd8e031b9d3e89d4ec89e8f212e7
Fix bug with using incorrect negative ids in wxEVT_MENU_HIGHLIGHT events.

wxMSW code implicitly cast ids carried by wxEVT_MENU_HIGHLIGHT events to
unsigned short so that they didn't compare equal to the (signed, negative) ids
of the real menu items. Because of this menu help strings were not shown for
any items with negative ids, i.e. those created using wxID_ANY.

Closes #11977.

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