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
This commit is contained in:
@@ -51,5 +51,6 @@
|
|||||||
['wx', 'TreeCtrl', '', ''],
|
['wx', 'TreeCtrl', '', ''],
|
||||||
['wx.calendar', 'CalendarCtrl', '-1', ''],
|
['wx.calendar', 'CalendarCtrl', '-1', ''],
|
||||||
['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
|
['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'],
|
['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
|
||||||
]
|
]
|
||||||
|
@@ -50,10 +50,10 @@ class LayoutTestFrame(wx.Frame):
|
|||||||
|
|
||||||
bottomPanel = wx.Panel(p, style=wx.SUNKEN_BORDER, name="bottomPanel")
|
bottomPanel = wx.Panel(p, style=wx.SUNKEN_BORDER, name="bottomPanel")
|
||||||
bottomPanel.SetMinSize((640,240))
|
bottomPanel.SetMinSize((640,240))
|
||||||
bottomPanel.SetOwnBackroundColour("light blue")
|
bottomPanel.SetOwnBackgroundColour("light blue")
|
||||||
|
|
||||||
self.testPanel = wx.Panel(bottomPanel, name="testPanel")
|
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.testWidget = None
|
||||||
|
|
||||||
self.infoPane = InfoPane(p)
|
self.infoPane = InfoPane(p)
|
||||||
|
Reference in New Issue
Block a user