]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typos and added test case that changes the font of a CalendarCtrl
authorRobin Dunn <robin@alldunn.com>
Wed, 30 Jun 2004 21:50:28 +0000 (21:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 30 Jun 2004 21:50:28 +0000 (21:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/misc/widgetLayoutTest.cfg
wxPython/misc/widgetLayoutTest.py

index dc0d613f58082b1b02e2e80fde92bd6511b27661..d7ede497ad329f9fe62c423e8737b08b584e0e31 100644 (file)
@@ -51,5 +51,6 @@
 ['wx', 'TreeCtrl', '', ''],
 ['wx.calendar', 'CalendarCtrl', '-1', ''],
 ['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
+['wx.calendar', 'CalendarCtrl', '-1', 'w.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL))\n'],
 ['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
 ]
index 968a6f604430afd0aa9a9729f52d85de0477d884..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.SetOwnBackroundColour("light blue")
+        bottomPanel.SetOwnBackgroundColour("light blue")
 
         self.testPanel = wx.Panel(bottomPanel, name="testPanel")
-        self.testPanel.SetOwnBackroundColour((205, 183, 181)) # mistyrose3
+        self.testPanel.SetOwnBackgroundColour((205, 183, 181)) # mistyrose3
         self.testWidget = None
 
         self.infoPane = InfoPane(p)