Some error recovery and other tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-28 19:59:29 +00:00
parent fdde476d53
commit 0625ef6849
2 changed files with 33 additions and 19 deletions

View File

@@ -3,12 +3,11 @@ from wx.py import shell, version
class MyPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, -1)
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)