diff -r 748017ca4151 -r 10aa87518401 editors/TextViewer.py --- a/editors/TextViewer.py Thu Jun 07 14:45:03 2018 +0300 +++ b/editors/TextViewer.py Thu Jun 07 16:31:26 2018 +0300 @@ -79,13 +79,6 @@ ID = ID_TEXTVIEWER - if wx.VERSION < (2, 6, 0): - def Bind(self, event, function, id=None): - if id is not None: - event(self, id, function) - else: - event(self, function) - def _init_Editor(self, prnt): self.Editor = CustomStyledTextCtrl(id=ID_TEXTVIEWERTEXTCTRL, parent=prnt, name="TextViewer", size=wx.Size(0, 0), style=0)