wx.ToolTip.Enable doc or bug?

Using wx.ToolTip.Enable to globally switch on or off tooltips works for me on Windows 7; but doesn’t switch them off on Linux. The docs say “May not be supported on all platforms (eg. Cocoa).” so is this a bug or should the docs also include Gtk?

The C++ code for that method indicates that it depends on the version of GTK. There are a few different implementations based on the GTK version, and a couple code paths are basically NOPs. That’s part of the Joy of GTK…

···

On Monday, June 3, 2019 at 1:06:47 AM UTC-7, Mark wrote:

Using wx.ToolTip.Enable to globally switch on or off tooltips works for me on Windows 7; but doesn’t switch them off on Linux. The docs say “May not be supported on all platforms (eg. Cocoa).” so is this a bug or should the docs also include Gtk?

Robin

Thanks, so maybe the docs ougtht to say “(e.g., Cocoa, and some versions of Gtk).” ?

···

On Thursday, 6 June 2019 03:36:17 UTC+1, Robin Dunn wrote:

On Monday, June 3, 2019 at 1:06:47 AM UTC-7, Mark wrote:

Using wx.ToolTip.Enable to globally switch on or off tooltips works for me on Windows 7; but doesn’t switch them off on Linux. The docs say “May not be supported on all platforms (eg. Cocoa).” so is this a bug or should the docs also include Gtk?

The C++ code for that method indicates that it depends on the version of GTK. There are a few different implementations based on the GTK version, and a couple code paths are basically NOPs. That’s part of the Joy of GTK…

Robin