X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..9dc1d18069c519c807c2476a837e710b5ef932c6:/src/gtk/tooltip.cpp?ds=sidebyside diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index caf2a283be..e0d3bd03fa 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -68,11 +68,18 @@ void wxToolTip::Enable( bool flag ) gtk_tooltips_disable( ss_tooltips ); } +G_BEGIN_DECLS +void gtk_tooltips_set_delay (GtkTooltips *tooltips, + guint delay); +G_END_DECLS + void wxToolTip::SetDelay( long msecs ) { if (!ss_tooltips) return; + // FIXME: This is a deprecated function and might not even have an effect. + // Try to not use it, after which remove the prototype above. gtk_tooltips_set_delay( ss_tooltips, (int)msecs ); }