From 0ce9dd9ee28b0ea487d3a2f396e600bbb1750507 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 16 Sep 2010 12:39:27 +0300 Subject: [PATCH] Commented the lines where we set the bk colour in statspane/pyfatogglepanel --- gui/pyfatogglepanel.py | 4 ++-- gui/statsPane.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/pyfatogglepanel.py b/gui/pyfatogglepanel.py index 600a14976..72de9efe6 100644 --- a/gui/pyfatogglepanel.py +++ b/gui/pyfatogglepanel.py @@ -37,10 +37,10 @@ class TogglePanel ( wx.Panel ): self._toggle = 1 self.parent = parent - self.bkColour = parent.GetBackgroundColour() +# self.bkColour = parent.GetBackgroundColour() # Odd stuff :S - self.SetBackgroundColour( self.bkColour ) +# self.SetBackgroundColour( self.bkColour ) # Create the main sizer of this panel diff --git a/gui/statsPane.py b/gui/statsPane.py index f09e98dd6..252f74619 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -47,7 +47,7 @@ class StatsPane(wx.Panel): standardFont.SetPointSize(8) self.SetFont(standardFont) - self.SetBackgroundColour(parent.GetBackgroundColour()) +# self.SetBackgroundColour(parent.GetBackgroundColour()) mainSizer = wx.BoxSizer(wx.VERTICAL) self.SetSizer(mainSizer)