added button testcase with larger font set after creation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-06-16 02:21:31 +00:00
parent 857878dfee
commit 9e70f34262
2 changed files with 3 additions and 2 deletions

View File

@ -50,5 +50,6 @@
['wx', 'TreeCtrl', '', ''],
['wx.calendar', 'CalendarCtrl', '-1', ''],
['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''],
['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\rw.SetFont(f)\r'],
['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'],
['wx', 'Button', '-1, "larger font"', 'w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.NORMAL))\n##w.SetMinSize(wx.DefaultSize)\n'],
]

View File

@ -12,7 +12,7 @@ import os
# stuff for debugging
print "wx.VERSION_STRING = ", wx.VERSION_STRING
print "pid:", os.getpid()
#raw_input("Press Enter...")
##raw_input("Press Enter...")
class LayoutTestFrame(wx.Frame):
def __init__(self):