diff -r 314af37f7db2 -r 649399ffdaf0 TextViewer.py --- a/TextViewer.py Tue May 29 17:11:37 2012 +0200 +++ b/TextViewer.py Wed May 30 12:20:27 2012 +0200 @@ -117,6 +117,7 @@ def _init_Editor(self, prnt): self.Editor = wx.stc.StyledTextCtrl(id=ID_TEXTVIEWERTEXTCTRL, parent=prnt, name="TextViewer", size=wx.Size(0, 0), style=0) + self.Editor.ParentWindow = self self.Editor.CmdKeyAssign(ord('+'), wx.stc.STC_SCMOD_CTRL, wx.stc.STC_CMD_ZOOMIN) self.Editor.CmdKeyAssign(ord('-'), wx.stc.STC_SCMOD_CTRL, wx.stc.STC_CMD_ZOOMOUT)