X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a69d0aa1dccadd8c88231ef0158a660713453df..4eb5bfc61fed681f52ce67e253b390ccaa1280e9:/wxPython/wx/tools/XRCed/panel.py?ds=sidebyside diff --git a/wxPython/wx/tools/XRCed/panel.py b/wxPython/wx/tools/XRCed/panel.py index 063061e703..67b00f40e1 100644 --- a/wxPython/wx/tools/XRCed/panel.py +++ b/wxPython/wx/tools/XRCed/panel.py @@ -13,7 +13,6 @@ class Panel(wxNotebook): def __init__(self, parent, id = -1): if wxPlatform != '__WXMAC__': # some problems with this style on macs wxNotebook.__init__(self, parent, id, style=wxNB_BOTTOM) - self.SetBackgroundColour(parent.GetBackgroundColour()) else: wxNotebook.__init__(self, parent, id) global panel @@ -172,8 +171,6 @@ class Panel(wxNotebook): class ParamPage(wxPanel): def __init__(self, parent, xxx): wxPanel.__init__(self, parent, -1) - self.SetBackgroundColour(parent.GetBackgroundColour()) - self.SetForegroundColour(parent.GetForegroundColour()) self.xxx = xxx # Register event handlers for id in paramIDs.values():