Am having an issue getting tab traversal to work (wxWidgets 3.1.3 on
Windows). It's a top level wxFrame window, the style includes
wxTAB_TRAVERSAL however when hitting tab in a text control nothing
happens (well the PC goes 'ding' but that probably doesn't count).
I've tried handling this myself based on
(I have combo boxes in this
configuration so figured I'd need to do it anyway). Hence I have
void PlayoutExpress::DbExpress::EvtKeyDown(wxKeyEvent& event)
if (event.GetKeyCode() == WXK_TAB)
The event gets hit ok - the odd thing is I can step through the code
inside NavigateIn (it doesn't seem to do that much):
bool wxWindowBase::DoNavigateIn(int flags)
// native code doesn't process our wxNavigationKeyEvents anyhow
#else // !wxHAS_NATIVE_TAB_TRAVERSAL
wxWindow *focused = FindFocus();
#endif // wxHAS_NATIVE_TAB_TRAVERSAL/!wxHAS_NATIVE_TAB_TRAVERSAL
and it successfully calls into 'wxEvtHandler::ProcessEvent'. In there I
find a bunch of checks for seeing if the event can be handled but
ultimately in drops out having done nothing.
// No handler found anywhere, bail out.
The implication from the docs is that this should just work without me
needing to do anything special.
Any help appreciated.
== jon bird - software engineer
== <reply to address _may_ be invalid, real mail below>
== <reduce rsi, stop using the shift key>
== posted as: news 'at' onasticksoftware 'dot' co 'dot' uk