Make everything compile with GTK_DISABLE_DEPRECATED declared.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-02-20 21:28:53 +00:00
parent cc7e9e2083
commit 1efb5db896
11 changed files with 88 additions and 3 deletions

View File

@@ -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 );
}