TipWindow .SetBoundingRect problem

Hi all!

I'm having problems with the bounding-rect feature of the TipWindow. This is when running on WinXP with wx.2.5.3 (python 2.3.4).

I've put together a small test-case showing the problem.
When the mouse cursor leaves the red-panel (in the example) the shown TipWindow should be closed. Though for some reason is the given bounding rect is not taken into account.

This works at least with 2.4.2.4.

Thanks,
  Jan

tipwindow.py (728 Bytes)

···

--
----------------------------------------------------------------------
Jan Finell email : jfinell@regionline.fi
Sipintie 27 A finell@cenix-bioscience.com
67700 Kokkola icq : 91719211
FINLAND msn : winelli@hotmail.com
                                   jabber : winelli@jabber.org
                                    phone : +358(0)41 5494185
                                      web : http://pp.kpnet.fi/finell

Public key at http://www.cenix-bioscience.com/public_keys/finell.gpg
GnuPG fingerprint: BF5F B0A7 DFFC AFAC 7E9A 6B60 4BD1 F421 090B 70A5
----------------------------------------------------------------------

Jan Finell wrote:

Hi all!

I'm having problems with the bounding-rect feature of the TipWindow. This is when running on WinXP with wx.2.5.3 (python 2.3.4).

I've put together a small test-case showing the problem.
When the mouse cursor leaves the red-panel (in the example) the shown TipWindow should be closed. Though for some reason is the given bounding rect is not taken into account.

This works at least with 2.4.2.4.

This is probably because the wxPopupTansientWindow is no longer capturing the mouse, so it is no longer getting mouse events unless the mouse is inside the tip window. I'll see if having the tip window capture the mouse will work okay.

···

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