X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02e8b87f6fd740501b2f39504342e77ade92a177..5c5ab9ebc3a7dd441c9e3b25cb3daf8f733c374f:/src/gtk1/tooltip.cpp?ds=sidebyside diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index 2e400fe04d..a80317beeb 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/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