]> git.saurik.com Git - wxWidgets.git/commit - src/msw/window.cpp
Fix duplicate wxContextMenuEvent generation in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 May 2013 11:21:41 +0000 (11:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 May 2013 11:21:41 +0000 (11:21 +0000)
commit54753c3d75cce7721667aef855fe30a0f90dcedd
treeeda1f7a96b8a1cc57458487a72e0b890d29a8804
parent0ba28d4196ee0dab58c3c48097e71c186e6cbe68
Fix duplicate wxContextMenuEvent generation in wxMSW.

Prevent WM_CONTEXTMENU from being propagated upwards the window parent chain
by DefWindowProc(), we already do it ourselves and not marking the message as
processed could result in multiple calls to the same wxEVT_CONTEXT_MENU
handler if it skipped the event.

See #13683.

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