+static void GetTooltipColors()
+{
+ GtkTooltips* tooltips = gtk_tooltips_new();
+ gtk_tooltips_force_window(tooltips);
+ gtk_widget_ensure_style(tooltips->tip_window);
+ GdkColor c = tooltips->tip_window->style->bg[GTK_STATE_NORMAL];
+ gs_objects.m_colTooltip = wxColor(c.red >> SHIFT, c.green >> SHIFT, c.blue >> SHIFT);
+ c = tooltips->tip_window->style->fg[GTK_STATE_NORMAL];
+ gs_objects.m_colTooltipText = wxColor(c.red >> SHIFT, c.green >> SHIFT, c.blue >> SHIFT);
+ gtk_object_sink(wx_reinterpret_cast(GtkObject*, tooltips));
+}
+