restore the original selection when the dropdown is cancelled even if it was -1;...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Sep 2008 13:33:06 +0000 (13:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Sep 2008 13:33:06 +0000 (13:33 +0000)
commit13139e93005cedec484b1e97e08b649a2196327a
tree5f406acf69ea020dd3924910b51ec74d0a0f798d
parente57337cec33cdbb349ede1236fd0e458b6b0b104
restore the original selection when the dropdown is cancelled even if it was -1; this fixes the problem of #9995 and the existing code didn't deal correctly with the problem of losing current text in the combobox when the dropdown was cancelled anyhow

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