]> git.saurik.com Git - wxWidgets.git/commitdiff
remove gtk_window_set_type_hint from GetTooltipColors, it's not necessary and GDK_WIN...
authorPaul Cornett <paulcor@bullseye.com>
Sun, 26 Aug 2007 16:17:37 +0000 (16:17 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 26 Aug 2007 16:17:37 +0000 (16:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/settings.cpp

index 16fccb189518b272b2e997dcefca8566a948e91a..60b1e29cd8e0ddaca92e473a8010d65995d527c9 100644 (file)
@@ -134,10 +134,6 @@ static bool GetColourFromGTKWidget(GdkColor& gdkColor,
 static void GetTooltipColors()
 {
     GtkWidget* widget = gtk_window_new(GTK_WINDOW_POPUP);
-#if GTK_CHECK_VERSION(2, 10, 0)
-    if (!gtk_check_version(2, 10, 0))
-        gtk_window_set_type_hint((GtkWindow*)widget, GDK_WINDOW_TYPE_HINT_TOOLTIP);
-#endif
     const char* name = "gtk-tooltip";
     if (gtk_check_version(2, 11, 0))
         name = "gtk-tooltips";