Just to follow up this, I worked out what I was doing wrong. I'm now an
official dumbarse :/
I was calling the global wx.SetCursor() method instead of the
wx.Window.SetCursor() method on my panel object instance.
It's working as wanted now.
Regards
Darryl
Darryl Ross wrote:
Hey All,
I've got a wx.Panel with 3 children controls. I'm trying to create a
mouseover effect on the panel so when the mouse is over the panel (and
hence any of the children controls) the hand cursor is shown.
The problem I am having is that when mouse goes over one of the children
controls I get a EVT_LEAVE_WINDW on the panel and an EVT_ENTER_WINDW
on the child control.
Is there a way to make the child controls be transparent to this? The
controls in question are just a couple of wx.StaticBitmaps and a
wx.StaticText.
Any ideas greatly appreciated!
Regards
Darryl
PS. Got a phone call from my bookstore today, my copy of WxPython in
Action has arrived, yay!
PGP SIGNATURE
Version: GnuPG v1.4.3 (MingW32)
Dh5CJfc99UQYeHaR65tWYs=
=n9un
PGP SIGNATURE