]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/tooltip.cpp
fixed GTK 1.2.7 vs. <= 1.2.6 API incompatibility: gdk_gc_set_hashes, argument 3 gint8...
[wxWidgets.git] / src / gtk1 / tooltip.cpp
index 2e400fe04d6d6ce2a6eb3ab981444e83e08a33f0..a80317beeb41a896708b1793399677af59930a1b 100644 (file)
@@ -99,9 +99,11 @@ void wxToolTip::Enable( bool flag )
 
 void wxToolTip::SetDelay( long msecs )
 {
 
 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
 
 #endif