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