diff --git a/wxPython/wxPython/lib/PyCrust/PyCrustApp.py b/wxPython/wxPython/lib/PyCrust/PyCrustApp.py index de283bb971..d262fbea91 100755 --- a/wxPython/wxPython/lib/PyCrust/PyCrustApp.py +++ b/wxPython/wxPython/lib/PyCrust/PyCrustApp.py @@ -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: diff --git a/wxPython/wxPython/lib/PyCrust/PyShellApp.py b/wxPython/wxPython/lib/PyCrust/PyShellApp.py index d38d855a5e..ff60f5f845 100755 --- a/wxPython/wxPython/lib/PyCrust/PyShellApp.py +++ b/wxPython/wxPython/lib/PyCrust/PyShellApp.py @@ -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: