X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2620b36e036a1d93bf57c97ee2f7cb9a339fd457..b81383bbd984f1b0aad8db92d7be069f2a23fa74:/wxPython/samples/embedded/embedded_sample.py?ds=inline diff --git a/wxPython/samples/embedded/embedded_sample.py b/wxPython/samples/embedded/embedded_sample.py index dc67ef6f45..56e46926d8 100644 --- a/wxPython/samples/embedded/embedded_sample.py +++ b/wxPython/samples/embedded/embedded_sample.py @@ -3,16 +3,14 @@ from wx.py import shell, version class MyPanel(wx.Panel): def __init__(self, parent): - wx.Panel.__init__(self, parent, -1) - print parent + wx.Panel.__init__(self, parent, -1, style=wx.SUNKEN_BORDER) text = wx.StaticText(self, -1, "Everything on this side of the splitter comes from Python.") - text.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD)) - + intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION pycrust = shell.Shell(self, -1, introText=intro) - #pycrust = wxTextCtrl(self, -1, intro) + #pycrust = wx.TextCtrl(self, -1, intro) sizer = wx.BoxSizer(wx.VERTICAL) sizer.Add(text, 0, wx.EXPAND|wx.ALL, 10)