In wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN.
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 5 Apr 2010 17:18:41 +0000 (17:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 5 Apr 2010 17:18:41 +0000 (17:18 +0000)
commitffe42ca62784654b0a82555952c7e9bbf871019a
treee66f55adbd3f62603d20786b540e7a98e28ef68c
parent88695e9ab8ca4e35ab92c0b8fcceb84cb65ffe1f
In wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN.

We should close the popup only if neither of these events was processed;
previously, EVT_CHAR would never reach the popup in open state, as it
would be closed automatically.

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