From 08abd69b5873bd7342fcc3e6d41c8ec97b41c6e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 18 Mar 2000 21:46:18 +0000 Subject: [PATCH] changed titlebar text colour from white to fg[GTK_STATE_SELECTED] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/minifram.cpp | 4 ++-- src/gtk1/minifram.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 4a48fe1ecf..ec6f44a3c5 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -96,7 +96,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g win->m_width - 7, font->ascent + font->descent+1 ); - gdk_gc_set_foreground( gc, &widget->style->white ); + gdk_gc_set_foreground( gc, &widget->style->fg[GTK_STATE_SELECTED] ); gdk_draw_string( pizza->bin_window, font, gc, 6, 3+font->ascent, @@ -140,7 +140,7 @@ static void gtk_window_own_draw_callback( GtkWidget *widget, GdkRectangle *WXUNU win->m_width - 7, font->ascent + font->descent+1 ); - gdk_gc_set_foreground( gc, &widget->style->white ); + gdk_gc_set_foreground( gc, &widget->style->fg[GTK_STATE_SELECTED] ); gdk_draw_string( pizza->bin_window, font, gc, 6, 3+font->ascent, diff --git a/src/gtk1/minifram.cpp b/src/gtk1/minifram.cpp index 4a48fe1ecf..ec6f44a3c5 100644 --- a/src/gtk1/minifram.cpp +++ b/src/gtk1/minifram.cpp @@ -96,7 +96,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g win->m_width - 7, font->ascent + font->descent+1 ); - gdk_gc_set_foreground( gc, &widget->style->white ); + gdk_gc_set_foreground( gc, &widget->style->fg[GTK_STATE_SELECTED] ); gdk_draw_string( pizza->bin_window, font, gc, 6, 3+font->ascent, @@ -140,7 +140,7 @@ static void gtk_window_own_draw_callback( GtkWidget *widget, GdkRectangle *WXUNU win->m_width - 7, font->ascent + font->descent+1 ); - gdk_gc_set_foreground( gc, &widget->style->white ); + gdk_gc_set_foreground( gc, &widget->style->fg[GTK_STATE_SELECTED] ); gdk_draw_string( pizza->bin_window, font, gc, 6, 3+font->ascent, -- 2.47.2