From 10a2f28a1e44a3109486fd6c6aa1799658e67dcc Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Wed, 17 Nov 2010 14:46:48 +0200 Subject: [PATCH] Use panel back --- gui/chromeTabs.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gui/chromeTabs.py b/gui/chromeTabs.py index a9424880a..aeef6fbda 100644 --- a/gui/chromeTabs.py +++ b/gui/chromeTabs.py @@ -862,15 +862,8 @@ class PFTabsContainer(wx.Panel): mdc.SelectObject(canvas) selected = 0 - color = wx.SystemSettings.GetColour( wx.SYS_COLOUR_3DFACE) - if 'wxGTK' in wx.PlatformInfo: - cr,cg,cb = color - cr -= 18 - cb -= 18 - cg -= 18 - color = wx.Colour(cr, cg, cb) - mdc.SetBackground (wx.Brush(color)) + mdc.SetBackground (wx.Brush(self.GetBackgroundColour())) # mdc.SetBackground (wx.Brush((66,113,202))) mdc.Clear()