]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/misc/widgetLayoutTest.py
Fixed typos and added test case that changes the font of a CalendarCtrl
[wxWidgets.git] / wxPython / misc / widgetLayoutTest.py
index 3bc942752aaffad209ca90452cf91d341800107b..fc2b8922e44bfd6fa21a23ec1136c0f32b9eda5e 100644 (file)
@@ -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)