[ wxwindows-Bugs-1636323 ] wxComboBox doesn't process correctly SHIFT+TAB

SourceForge.net noreply at sourceforge.net
Mon Jan 15 15:29:56 PST 2007


Bugs item #1636323, was opened at 2007-01-16 01:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1636323&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Platform specific
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Climent Luchianov (climentml)
Assigned to: Stefan Csomor (csomor)
Summary: wxComboBox doesn't process correctly SHIFT+TAB

Initial Comment:
Context:

wxMac 2.8.0 stable, Mac OS X 10.4.8 Tiger, XCode 2.4, GCC 4.0.1

Multiple controls on a wxDialog, one of them is a wxComboBox. Tab navigation works fine when only TAB key is pressed, but when trying navigating backwards using SHIFT+TAB, the navigation works okay only till reaching the wxComboBox. From there, it will loop between wxComboBox and the next (in the TAB order) control (set with MoveAfterInTabOrder in my case). 
The problem can also be reproduced using the 'controls' sample found in the samples directory, when selecting the 'wxComboBox' tab.

Changing in wxComboBox::OnChar implementation (wxMac-2.8.0/src/mac/carbon/combobox.cpp) 

NavEvent.SetDirection(true);

with

NavEvent.SetDirection(!event.ShiftDown());

fixed the problem for me.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1636323&group_id=9863




More information about the wx-dev mailing list