From d60a8c22dd00b37b5c981ae36a64b3d6d7e0ec57 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 16 Sep 2010 12:20:38 +0300 Subject: [PATCH] Fix attempt for statspanel wrong background (on macs) --- gui/statsPane.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/statsPane.py b/gui/statsPane.py index 7b0161254..f09e98dd6 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -47,6 +47,8 @@ class StatsPane(wx.Panel): standardFont.SetPointSize(8) self.SetFont(standardFont) + self.SetBackgroundColour(parent.GetBackgroundColour()) + mainSizer = wx.BoxSizer(wx.VERTICAL) self.SetSizer(mainSizer)