- gtk_tooltips_set_tip( m_tooltips, tool, m_text, (gchar*) NULL );
+ gtk_widget_set_style( ss_tooltips->tip_window, g_style );
+#else
+ gtk_tooltips_set_colors( ss_tooltips, &ss_bg, &ss_fg );
+#endif
+ }
+
+ m_window = win;
+
+ if (m_text.IsEmpty())
+ m_window->ApplyToolTip( ss_tooltips, (wxChar*) NULL );
+ else
+ m_window->ApplyToolTip( ss_tooltips, m_text );