]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/embedded/embedded_sample.py
Some error recovery and other tweaks
[wxWidgets.git] / wxPython / samples / embedded / embedded_sample.py
index 5fa38aba931e00b0f8ade1f704e1a68d94a9a50b..beed13cbb0cadd5f21aa1b4972f313c750b26439 100644 (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)