git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28955
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef __WXUNIVERSAL__
GtkPizza *pizza = GTK_PIZZA (widget);
#ifndef __WXUNIVERSAL__
GtkPizza *pizza = GTK_PIZZA (widget);
- if (win->GetThemeEnabled() && win->GetBackgroundStyle() != wxBG_STYLE_CUSTOM)
+ if (win->GetThemeEnabled() && win->GetBackgroundStyle() == wxBG_STYLE_SYSTEM)
{
wxWindow *parent = win->GetParent();
while (parent && !parent->IsTopLevel())
{
wxWindow *parent = win->GetParent();
while (parent && !parent->IsTopLevel())
// widget to draw on
GtkPizza *pizza = GTK_PIZZA (m_wxwindow);
// widget to draw on
GtkPizza *pizza = GTK_PIZZA (m_wxwindow);
- if (GetThemeEnabled() && GetBackgroundStyle() != wxBG_STYLE_CUSTOM)
+ if (GetThemeEnabled() && GetBackgroundStyle() == wxBG_STYLE_SYSTEM)
{
// find ancestor from which to steal background
wxWindow *parent = GetParent();
{
// find ancestor from which to steal background
wxWindow *parent = GetParent();
#ifndef __WXUNIVERSAL__
GtkPizza *pizza = GTK_PIZZA (widget);
#ifndef __WXUNIVERSAL__
GtkPizza *pizza = GTK_PIZZA (widget);
- if (win->GetThemeEnabled() && win->GetBackgroundStyle() != wxBG_STYLE_CUSTOM)
+ if (win->GetThemeEnabled() && win->GetBackgroundStyle() == wxBG_STYLE_SYSTEM)
{
wxWindow *parent = win->GetParent();
while (parent && !parent->IsTopLevel())
{
wxWindow *parent = win->GetParent();
while (parent && !parent->IsTopLevel())
// widget to draw on
GtkPizza *pizza = GTK_PIZZA (m_wxwindow);
// widget to draw on
GtkPizza *pizza = GTK_PIZZA (m_wxwindow);
- if (GetThemeEnabled() && GetBackgroundStyle() != wxBG_STYLE_CUSTOM)
+ if (GetThemeEnabled() && GetBackgroundStyle() == wxBG_STYLE_SYSTEM)
{
// find ancestor from which to steal background
wxWindow *parent = GetParent();
{
// find ancestor from which to steal background
wxWindow *parent = GetParent();