Tooltips et wxStaticText

jf gosset wrote:

Hi,

The association of a tooltip and a wxStaticText is accepted:
myStaticText.SetToolTipString("blah blah")
But the tooltip never appaers.

Is it a limitation or a bug ?

A limitation. The wxStaticText isn't able to get all the mouse events.

It's rather possible to use a workaround: place the StaticText in a panel and attribute the tooltip to the panel.

Yes that is one way. Another is to use the generic static text control located in wx.lib.stattext.

···

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