diff --git a/samples/simple/hello.py b/samples/simple/hello.py index 2b160ba6..7d846b8b 100644 --- a/samples/simple/hello.py +++ b/samples/simple/hello.py @@ -4,6 +4,12 @@ print wx.version() app = wx.App() frm = wx.Frame(None, title="Hello World!") + +pnl = wx.Panel(frm) +pnl.BackgroundColour = 'sky blue' +st = wx.StaticText(pnl, -1, 'This is wxPython\n%s' % wx.version(), (15,15)) +st.SetFont(wx.Font(14, wx.FONTFAMILY_SWISS, wx.FONTFLAG_BOLD)) + frm.Show() app.MainLoop()