From 4318fb0946af3a687ec70047989b39d7c27026f4 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sun, 5 Sep 2010 22:17:18 +0300 Subject: [PATCH] TogglePanel: more tweaks git push (colour stuff) --- gui/pyfatogglepanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/pyfatogglepanel.py b/gui/pyfatogglepanel.py index 7fbbc875c..1a5f536ac 100644 --- a/gui/pyfatogglepanel.py +++ b/gui/pyfatogglepanel.py @@ -73,7 +73,7 @@ class TogglePanel ( wx.Panel ): self.contentPanel = wx.Panel(self) self.contentPanel.SetSizer(self.contentSizer) -# self.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_3DLIGHT ) ) + self.SetBackgroundColour( self.parent.GetBackgroundColour() ) self.mainSizer.Add( self.contentPanel, 1, wx.EXPAND, 5)