I am having trouble making wxStaticText respond to events.
I first encountered the problem when trying to set the
cursor of a wxStaticText object using SetCursor, and saw no
response. I then tried using an EVT_MOTION to change the
cursor, but again got no response.
Does wxStaticText not respond to events in the way that
most controls do?
Thanks
Stephen Emslie
···
___________________________________________
Look Good, Feel Good www.healthiest.co.za
I am having trouble making wxStaticText respond to events.
I first encountered the problem when trying to set the
cursor of a wxStaticText object using SetCursor, and saw no
response. I then tried using an EVT_MOTION to change the
cursor, but again got no response.
Does wxStaticText not respond to events in the way that
most controls do?
It depends on the native control. Some do and some don't. To work around this I have put a generic statictext-like class in the library. See the stattext.py module.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!