Pretend that the window showing popup menu has focus in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:48 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 00:59:48 +0000 (00:59 +0000)
commit55fb00a73ac36b896d91d2874468161c1ede19eb
treee5a689d6beaf6952df18bc222475b5d0a6271c2e
parent64652bee94050acaa66b7ff6338ba02f195a819c
Pretend that the window showing popup menu has focus in wxGTK.

This is necessary for compatibility with wxMSW as the focus remains on the
window which had it before the popup menu was shown there and existing code
relies on it, while in wxGTK the popup steals the focus when it's shown.

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