Use panel back

This commit is contained in:
HomeWorld
2010-11-17 14:46:48 +02:00
parent fd73f55d7d
commit 10a2f28a1e

View File

@@ -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()