]> git.saurik.com Git - wxWidgets.git/commit
Fix UI in generic wxListCtrl when pressing cursor arrows while editing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 23:11:39 +0000 (23:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Jan 2012 23:11:39 +0000 (23:11 +0000)
commit29686ebc000a1d95ae56a58b9ff2a5a6f23eed84
treee78322a5a3bf7dbbde11ff540eb3d5584c0c25f0
parent5e9b80221a9845a19e3f6f4a3e80e841929d31c0
Fix UI in generic wxListCtrl when pressing cursor arrows while editing.

Pressing Up/Down keys while editing an item changed the selection but left the
in-place editing control on the previously selected item which was just wrong.
Ignore these keys to avoid it.

Notice that there is an underlying bug somewhere in wxGTK because we shouldn't
be getting these events in the first place while the in-place editing text
control has focus but it doesn't seem easy to fix so work around it here.

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