From e236828da11fc10d7324c0336364703866be5a0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 17 Jun 2004 17:01:51 +0000 Subject: [PATCH] it's OK to set background,foreground colour even with theming now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 4 ++-- src/gtk1/window.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index a1b9f5657b..171eecae9d 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2307,10 +2307,10 @@ gtk_window_realized_callback( GtkWidget *m_widget, wxWindow *win ) if (g_isIdle) wxapp_install_idle_handler(); - if (win->m_delayedBackgroundColour && !win->GetThemeEnabled()) + if (win->m_delayedBackgroundColour) win->GtkSetBackgroundColour( win->GetBackgroundColour() ); - if (win->m_delayedForegroundColour && !win->GetThemeEnabled()) + if (win->m_delayedForegroundColour) win->GtkSetForegroundColour( win->GetForegroundColour() ); #ifdef __WXGTK20__ diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index a1b9f5657b..171eecae9d 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2307,10 +2307,10 @@ gtk_window_realized_callback( GtkWidget *m_widget, wxWindow *win ) if (g_isIdle) wxapp_install_idle_handler(); - if (win->m_delayedBackgroundColour && !win->GetThemeEnabled()) + if (win->m_delayedBackgroundColour) win->GtkSetBackgroundColour( win->GetBackgroundColour() ); - if (win->m_delayedForegroundColour && !win->GetThemeEnabled()) + if (win->m_delayedForegroundColour) win->GtkSetForegroundColour( win->GetForegroundColour() ); #ifdef __WXGTK20__ -- 2.50.0