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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user