When running samples from the demo standalone you can now add a

--shell to the command line and it will start a PyShell to go with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-05 00:06:33 +00:00
parent 4395fb21f6
commit 8eca4fef10
132 changed files with 179 additions and 140 deletions

View File

@@ -461,7 +461,7 @@ class wxPythonDemo(wx.Frame):
self.CreateStatusBar(1, wx.ST_SIZEGRIP)
splitter = wx.SplitterWindow(self, -1)
splitter2 = wx.SplitterWindow(splitter, -1)
splitter2 = wx.SplitterWindow(splitter, -1) ##, size=(20,20))
# Set up a log on the View Log Notebook page
self.log = wx.TextCtrl(splitter2, -1,
@@ -895,6 +895,7 @@ class MySplashScreen(wx.SplashScreen):
self.Bind(wx.EVT_CLOSE, self.OnClose)
def OnClose(self, evt):
self.Hide()
frame = wxPythonDemo(None, -1, "wxPython: (A Demonstration)")
frame.Show()
evt.Skip() # Make sure the default handler runs too...