[wxPython] Child windows/frames

Hello folks,

Under wxPython 2.2.5 child windows would yield
the focus when their parent window was selected.
I noticed that this isn't the default behaviour
under the later wxPython 2.3 releases.

I have seen a message from Robin D. that hints
that the new behaviour is for a child window to
stay in front of the parent.

Is there a way to have the best of both
worlds: the later releases of wxPython and
the former behaviour? The modified behaviour
seems quite counter-intuitive.

David

Under wxPython 2.2.5 child windows would yield
the focus when their parent window was selected.
I noticed that this isn't the default behaviour
under the later wxPython 2.3 releases.

Technically, it is still true. The focus will go back to the parent window.
What you are refering to is that the parent window doesn't come to the top
of the stack, which is a different kettle of fish.

I have seen a message from Robin D. that hints
that the new behaviour is for a child window to
stay in front of the parent.

Is there a way to have the best of both
worlds: the later releases of wxPython and
the former behaviour? The modified behaviour
seems quite counter-intuitive.

Just give your "child" windows a None for parent, then they will behave just
as the "parent" does.

ยทยทยท

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