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
This commit is contained in:
Václav Slavík
2004-06-17 17:01:51 +00:00
parent ca65c0440a
commit e236828da1
2 changed files with 4 additions and 4 deletions

View File

@@ -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__