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:
@@ -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...
|
||||
|
Reference in New Issue
Block a user