Make wxChoice and wxComboBox behaviour same as in native controls in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2012 23:49:25 +0000 (23:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Dec 2012 23:49:25 +0000 (23:49 +0000)
commit65676a2882da289289c22a2810d92e56f7b9449c
tree7fbfbd110af364d09c9af63c771f69f61dc4d69c
parent7bc740719c93355e447db5c9bcb24cf7cdc29b61
Make wxChoice and wxComboBox behaviour same as in native controls in wxMSW.

Keep the item selected from the drop down using keyboard when switching away
from the control by pressing TAB: although this generates CBN_SELENDCANCEL
notification, the selection is actually kept by the native controls in this
case, so don't reset it ourselves -- even though it makes sense, it makes wx
applications behave differently from the native ones.

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