wxBeginBusyCursor and multiple frames

I sent this mail 24 hours ago and it hasn't reached the list yet. It was
definitely delivered to the relevant MX. I'm sending it again (with
additions), so my apologies if you receive it twice.

Dear list,

I've attached a simple example that illustrates my question. It's a
modified version of "simple.py" that's included with the wxPython demos. If
you click on the "close" button, it calls wxBeginBusyCursor which, according
to documentation: "Changes the cursor to the given cursor for all windows in
the application."

When running on Windows however (XP, Python 2.2, wxPython 2.4.0.7) , the
cursor is only changed to the hour glass when held over the "main frame".
Over the secondary (child frame) it turns back into a standard cursor.

On Linux (Debian stable, Python 2.2, wxPython 2.4.0.7), the "hour glass" is
active over both windows, which seems to be the expected behaviour when
looking at the documentation.

How should one go about changing the cursor to an hour glass for all wx
windows on the Windows platform? Am I misinterpreting the documentation?
Any advice on this would be appreciated.

Thanks,
Charl

simple.py (1.6 KB)

···

--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

Charl P. Botha wrote:

I sent this mail 24 hours ago and it hasn't reached the list yet. It was
definitely delivered to the relevant MX. I'm sending it again (with
additions), so my apologies if you receive it twice.

The mail lists had a little problem for a few hours

···

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