From b3de96cf54e7bb3edd34e1c184bdf6b98f2aabce Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 16 Sep 2010 16:34:18 +0300 Subject: [PATCH] Revert "Fix attempt for font size in togglepanel - again" This reverts commit 8b298a0959a01772de8df8c055c0c3895b16d31f. --- gui/pyfatogglepanel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/pyfatogglepanel.py b/gui/pyfatogglepanel.py index d07ec5ffb..76d9a240f 100644 --- a/gui/pyfatogglepanel.py +++ b/gui/pyfatogglepanel.py @@ -51,7 +51,7 @@ class TogglePanel ( wx.Panel ): # Create the header panel self.headerPanel = wx.Panel(self) - self.headerPanel.InheritAttributes() + # self.headerPanel.SetBackgroundColour( self.bkColour) self.mainSizer.Add(self.headerPanel,0,wx.EXPAND | wx.TOP|wx.BOTTOM|wx.RIGHT, 1) @@ -112,7 +112,6 @@ class TogglePanel ( wx.Panel ): self.contentSizer = wx.BoxSizer( wx.VERTICAL ) self.contentPanel = wx.Panel(self) - self.contentPanel.InheritAttributes() self.contentPanel.SetSizer(self.contentSizer) self.mainSizer.Add( self.contentPanel, 0, wx.EXPAND | wx.RIGHT | wx.LEFT , 5)