Fix generation of wxEVT_CHAR in wxMSW wxComboBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jun 2012 23:55:54 +0000 (23:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jun 2012 23:55:54 +0000 (23:55 +0000)
commit38b1843b5cd8aad98dc91a45f93a4171c4ff37a2
tree44429fb5201387ae373d63e259fdb367a0178325
parent2026fd77f5497450936358ea8ec57a0263a4f8b4
Fix generation of wxEVT_CHAR in wxMSW wxComboBox.

wxEVT_CHAR shouldn't be generated at all if wxEVT_KEY_DOWN was handled but it
still was for wxComboBox because the code in its MSW implementation directly
called HandleKeyDown() and HandleChar() methods, bypassing the logic dealing
with m_lastKeyDownProcessed at wxWindow level.

Fix this by calling MSWHandleMessage() instead to ensure that WM_CHAR after a
handled WM_KEYDOWN are ignored as they ought to.

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