The standalone PyShell and PyCrust apps need to set the focus to the

shell windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-09-06 20:03:03 +00:00
parent 4589ec39c0
commit e37a28a0de
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ class App(wxApp):
self.crustFrame = CrustFrame(locals=locals)
self.crustFrame.SetSize((750, 525))
self.crustFrame.Show(true)
self.crustFrame.crust.shell.SetFocus()
self.SetTopWindow(self.crustFrame)
# Add the application object to the sys module's namespace.
# This allows a shell user to do:

View File

@@ -18,6 +18,7 @@ class App(wxApp):
self.shellFrame = ShellFrame(locals=locals)
self.shellFrame.SetSize((750, 525))
self.shellFrame.Show(true)
self.shellFrame.shell.SetFocus()
self.SetTopWindow(self.shellFrame)
# Add the application object to the sys module's namespace.
# This allows a shell user to do: