SetToolTip does not work on all windows?

Raffaello Barella wrote:

In a wxPython application running in Windows XP I tried to attach a tooltip to a wx.Choice.
Not only no tooltip appears on this window, but when the application is closed the system signals an 'unknown error'.
Did I try to do what is in wxPython merely impossible, or I forget something?

Sample code?

···

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

In my program, I was trying to assign the same tooltip to a wx.StaticText and to a wx.Choice.
When writing a sample code for your use, I remarked that the tooltip with only the wx.Choice worked fine. The trouble was that I’d tried to assign the same instance of wx.ToolTip to more than one control, and this is not possible because wx.ToolTip is not a string but an object.
Thanks for for the tip, Mr. Dunn.

···

2007/11/20, Robin Dunn < robin@alldunn.com>:

Raffaello Barella wrote:

In a wxPython application running in Windows XP I tried to attach a

tooltip to a wx.Choice.
Not only no tooltip appears on this window, but when the application is
closed the system signals an ‘unknown error’.
Did I try to do what is in wxPython merely impossible, or I forget

something?

Sample code?


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


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org