X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..f1567cddead054974c4a079ed8ee2c798ef998dc:/src/gtk/tooltip.cpp?ds=inline diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index 403880e328..a80317beeb 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -99,9 +99,10 @@ 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