Generate wxEVT_KEY_DOWN events for navigation keys in wxMSW wxTreeCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:28:41 +0000 (00:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:28:41 +0000 (00:28 +0000)
commitd6d857b12404a9e50bebdd8d143a547b72332f2d
tree7277842fb2d461abc54cf9c18ee9230a6b7aaa5d
parent27db5c5580dae187b90e87513a35c922f29a7ec3
Generate wxEVT_KEY_DOWN events for navigation keys in wxMSW wxTreeCtrl.

We only generated wxEVT_COMMAND_TREE_KEY_DOWN events for the keys which can be
used for tree control navigation and which are handled specially in the code
but not the wxEVT_KEY_DOWN ones. This was inconsistent with the other keys and
incompatible with wx 2.8 and other ports, so generate both events unless the
wxEVT_KEY_DOWN one was handled by the user code.

Closes #11621.

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