X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2620b36e036a1d93bf57c97ee2f7cb9a339fd457..0625ef6849f4069540a05ccfb6a42f5fd87a97cb:/wxPython/samples/embedded/embedded_sample.py?ds=sidebyside diff --git a/wxPython/samples/embedded/embedded_sample.py b/wxPython/samples/embedded/embedded_sample.py index dc67ef6f45..beed13cbb0 100644 --- a/wxPython/samples/embedded/embedded_sample.py +++ b/wxPython/samples/embedded/embedded_sample.py @@ -3,13 +3,11 @@ 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)