Handle Shift-TAB correctly in wxOSX/Carbon wxComboBox.

The navigation event direction should depend on Shift key state.

See #3821.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-28 23:55:53 +00:00
parent 8e64b8fe6e
commit eff339168e

View File

@@ -58,7 +58,7 @@ protected:
{ {
wxNavigationKeyEvent NavEvent; wxNavigationKeyEvent NavEvent;
NavEvent.SetEventObject(this); NavEvent.SetEventObject(this);
NavEvent.SetDirection(true); NavEvent.SetDirection(!event.ShiftDown());
NavEvent.SetWindowChange(false); NavEvent.SetWindowChange(false);
// Get the parent of the combo and have it process the navigation? // Get the parent of the combo and have it process the navigation?