From: Alex T. <ale...@us...> - 2005-12-29 02:48:38
|
Update of /cvsroot/pythoncard/PythonCard/tools/oneEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1836 Modified Files: codePage.py tabcodeEditor.py Log Message: Ensure focus is on the document, not on the notebook/tab (needed for wxPython 2.6) Index: tabcodeEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/oneEditor/tabcodeEditor.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** tabcodeEditor.py 19 Dec 2005 23:20:55 -0000 1.14 --- tabcodeEditor.py 29 Dec 2005 02:48:25 -0000 1.15 *************** *** 1272,1275 **** --- 1272,1276 ---- self.updateTitleBar() self.setResourceFile() + wx.CallAfter(self.currentPage.SetFocus) event.skip() Index: codePage.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/oneEditor/codePage.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** codePage.py 10 Oct 2004 23:38:29 -0000 1.4 --- codePage.py 29 Dec 2005 02:48:25 -0000 1.5 *************** *** 118,121 **** --- 118,122 ---- self.autoSetEOL() self.topLevelParent.setTitleBar(os.path.split(path)[-1]) + wx.CallAfter(self.components.document.SetFocus) except: pass |