py_ext/PythonEditor.py
changeset 753 05502e574589
parent 751 a8dace95f965
child 814 5743cbdff669
--- a/py_ext/PythonEditor.py	Wed May 23 16:32:33 2012 +0200
+++ b/py_ext/PythonEditor.py	Wed May 30 12:20:54 2012 +0200
@@ -62,7 +62,8 @@
         self.ConfNodeEditor = stc.StyledTextCtrl(id=ID_PYTHONEDITOR, parent=prnt,
                  name="TextViewer", pos=wx.DefaultPosition, 
                  size=wx.DefaultSize, style=0)
-
+        self.ConfNodeEditor.ParentWindow = self
+        
         self.ConfNodeEditor.CmdKeyAssign(ord('B'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMIN)
         self.ConfNodeEditor.CmdKeyAssign(ord('N'), stc.STC_SCMOD_CTRL, stc.STC_CMD_ZOOMOUT)