Focus "stucks" in ListView

Hello all!

I got a problem. Several my controls "stucks" in the focused state and don't
want to release a focus using keyboard (TAB/shift-TAB).

The story: I am working on application with a rather complex screen layout.
Say I have the following widgets hierarchy:

Notebook:
   1. List-view
   2. Notebook
           2-1. wx.SplitterWindow
                2-1-a) ListView
                2-1-b) Notebook
                     2-1-b-1. ListView <= problematic control
                     2-1-b-2. ListView <= problematic control
                     2-1-b-3. ListView <= problematic control
            2-2. ListView
            2-3. ListView
   3. Notebook...
        (like above)
   4. Notebook...
        (like above)

(Note that I don't have any wx.Panels anywhere.) Now if any of "leaf"
listviews (2-1-b-1 ... 2-1-b-3) grabs focus, then the focus sticks there
forewer and I can't change it using TAB or shift-TAB. CTRL-TAB however works
fine and behave as expected (move focus to 2-1-b notebook and switch to the
next listview). All listview are filled with data if that makes a sense.

The application should be fully operable using just keyboard so I need to
fix or maybe simulate a "right" TAB/shift+TAB behaviour. I try to emulate
this by hooking the keyboard events but can't get TAB keypresses. Playing
with various styles (wx.TAB_TRAVERSAL, wx.WANTS_CHARS) don't help me much.

Any suggestions are welcomed.

    Vladimir Ignatov

Hello, all

I downgrade back to wxPython 2.4.2 and then my sample works fine - no "focus
stucks" problem. So there is something wrong with 2.5.1

    Vladimir Ignatov