Set the delay after which the tooltip disappears or how long a tooltip remains visible.

Note

May not be supported on all platforms (eg. wxCocoa, GTK).

static void wxToolTip::SetDelay

(

long

msecs

)

static

Set the delay after which the tooltip appears.

Note

May not be supported on all platforms (eg. wxCocoa).

static void wxToolTip::SetMaxWidth

(

int

width

)

static

Set tooltip maximal width in pixels.

By default, tooltips are wrapped at a suitably chosen width. You can pass -1 as width to disable wrapping them completely, 0 to restore the default behaviour or an arbitrary positive value to wrap them at the given width.

Notice that this function does not change the width of the tooltips created before calling it.