From c678a73f7e15ad702635aa5696a6061b00e0b61e Mon Sep 17 00:00:00 2001 From: "Patrick K. O'Brien" Date: Wed, 16 Apr 2003 17:23:39 +0000 Subject: [PATCH] Set focus to the shell. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/py/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wxPython/wxPython/py/editor.py b/wxPython/wxPython/py/editor.py index 78ff5e235c..f590eeca20 100644 --- a/wxPython/wxPython/py/editor.py +++ b/wxPython/wxPython/py/editor.py @@ -258,6 +258,7 @@ class EditorNotebookFrame(EditorFrame): self.crust.filling.SetSashPosition(200) self.notebook.AddPage(page=self.crust, text='PyCrust', select=True) self.setEditor(self.crust.editor) + self.crust.editor.SetFocus() def _editorChange(self, editor): """Editor change signal receiver."""