X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d9f33e29ba373ef58f64f620955588838d6e93b..559b747dc0e326cdde958ebb58b78475a04cc83d:/wxPython/misc/widgetLayoutTest.py diff --git a/wxPython/misc/widgetLayoutTest.py b/wxPython/misc/widgetLayoutTest.py index 3bc942752a..fc2b8922e4 100644 --- a/wxPython/misc/widgetLayoutTest.py +++ b/wxPython/misc/widgetLayoutTest.py @@ -50,10 +50,10 @@ class LayoutTestFrame(wx.Frame): bottomPanel = wx.Panel(p, style=wx.SUNKEN_BORDER, name="bottomPanel") bottomPanel.SetMinSize((640,240)) - bottomPanel.SetDefaultBackgroundColour("light blue") + bottomPanel.SetOwnBackgroundColour("light blue") self.testPanel = wx.Panel(bottomPanel, name="testPanel") - self.testPanel.SetDefaultBackgroundColour((205, 183, 181)) # mistyrose3 + self.testPanel.SetOwnBackgroundColour((205, 183, 181)) # mistyrose3 self.testWidget = None self.infoPane = InfoPane(p)