X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02e8b87f6fd740501b2f39504342e77ade92a177..f1567cddead054974c4a079ed8ee2c798ef998dc:/src/gtk/tooltip.cpp diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index 2e400fe04d..a80317beeb 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -99,9 +99,11 @@ void wxToolTip::Enable( bool flag ) void wxToolTip::SetDelay( long msecs ) { - if (!ss_tooltips) return; + if (!ss_tooltips) + return; - gtk_tooltips_set_delay( ss_tooltips, msecs ); + gtk_tooltips_set_delay( ss_tooltips, (int)msecs ); } + #endif