Don't use ListView_CancelEditLabel() as it doesn't work as expected.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:29 +0000 (00:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 2 Dec 2011 00:50:29 +0000 (00:50 +0000)
commit9d79c176974ebeb0067d5b53c4bf580ff6bc3ff3
tree7f1a28e8f394987ee23724bd0bc68243948897ab
parent3a95f73c001e70cd195ea1d46df3040dea7532e8
Don't use ListView_CancelEditLabel() as it doesn't work as expected.

ListView_CancelEditLabel() doesn't revert the controls value to the original
text as expected, so don't use it and revert to sending VK_ESCAPE to the
in-place edit control instead under all versions of Windows.

See #7663.

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