How to enable tab traversal cross panels?

Can Xue wrote:

With a wx.TAB_TRAVERSAL flag, a wx.Panel can enable tab traversal.
But the tab traversal cycle is confined in that panel.
Below is a small sample to show this, when a user press TAB in TextCtrl '1-5',
the input focus will go to TextCtrl '1-1' but I hope it will be '2-1'.
So my question is how to enable tab traversal cross panels?

Try making the parent of the panels be another panel, instead of having them be direct children of the frame.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!