Use Enter and Space for cell editing in generic wxDVC too.
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Nov 2011 10:53:49 +0000 (10:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Nov 2011 10:53:49 +0000 (10:53 +0000)
commit0fff3dfcbbbe99a7a2046093f8b245ce87bbe583
tree0756f3a1760ef55418ea6a425c44534deb3539c7
parent5ced53e59975cb45e14925649b9f564505b0641b
Use Enter and Space for cell editing in generic wxDVC too.

If the normal Enter or Space processing (sending activate event or doing
activatable editing respectively) isn't handled by the control, use
these keys to trigger inline editing too, as F2 does.

This makes the Windows control more similar to OS X and GTK+ ones and
makes discovering editability easier.

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