editors/TextViewer.py
changeset 2177 10aa87518401
parent 1904 7dd49b65208b
child 2409 00d90ab8a462
--- 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)