From a39c03f9d298283c5ea91532c7544aeaf4c0f243 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 30 Jun 2004 21:50:28 +0000 Subject: [PATCH] Fixed typos and added test case that changes the font of a CalendarCtrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/misc/widgetLayoutTest.cfg | 1 + wxPython/misc/widgetLayoutTest.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wxPython/misc/widgetLayoutTest.cfg b/wxPython/misc/widgetLayoutTest.cfg index dc0d613f58..d7ede497ad 100644 --- a/wxPython/misc/widgetLayoutTest.cfg +++ b/wxPython/misc/widgetLayoutTest.cfg @@ -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'], ] diff --git a/wxPython/misc/widgetLayoutTest.py b/wxPython/misc/widgetLayoutTest.py index 968a6f6044..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.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)