]> git.saurik.com Git - wxWidgets.git/commitdiff
The standalone PyShell and PyCrust apps need to set the focus to the
authorRobin Dunn <robin@alldunn.com>
Fri, 6 Sep 2002 20:03:03 +0000 (20:03 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 6 Sep 2002 20:03:03 +0000 (20:03 +0000)
shell windows.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wxPython/lib/PyCrust/PyCrustApp.py
wxPython/wxPython/lib/PyCrust/PyShellApp.py

index de283bb9719b650dd2196f74f4eaa949a80c98bb..d262fbea915e5ceb777eef6655e825e811e924e9 100755 (executable)
@@ -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:
index d38d855a5ebfc45c22af50236b0df381617fd9b1..ff60f5f8456b5545dfc5d916eb5ab13ba59b167c 100755 (executable)
@@ -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: