Tool Tip - enable/disable

I am using the following to enable tooltips in my application.

        provider = wxSimpleHelpProvider()
        wxHelpProvider_Set(provider)
        wxToolTip_Enable(true)

Is there a way to disable tool tips.

Tried multiple versions of:
- wxToolTip_Enable(false)
- wxToolTip_Enable(False)
- wxToolTip_Enable(0)

But tool tips keep showing.

Any hints would be appreciated.

See you
Werner

Werner F. Bruhin wrote:

I am using the following to enable tooltips in my application.

       provider = wxSimpleHelpProvider()
       wxHelpProvider_Set(provider)
       wxToolTip_Enable(true)

Is there a way to disable tool tips.

Tried multiple versions of:
- wxToolTip_Enable(false)
- wxToolTip_Enable(False)
- wxToolTip_Enable(0)

But tool tips keep showing.

Any of those should do it, but probably only for tooltips set with wxWindow.SetToolTip. I think that the wxSimpleHelpProvider uses a different system.

···

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