PLCOpenEditor.py
changeset 2177 10aa87518401
parent 1881 091005ec69c4
child 2497 e04824ad26e4
--- a/PLCOpenEditor.py	Thu Jun 07 14:45:03 2018 +0300
+++ b/PLCOpenEditor.py	Thu Jun 07 16:31:26 2018 +0300
@@ -70,14 +70,6 @@
 
 class PLCOpenEditor(IDEFrame):
 
-    # Compatibility function for wx versions < 2.6
-    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_coll_FileMenu_Items(self, parent):
         AppendMenu(parent, help='', id=wx.ID_NEW,
                    kind=wx.ITEM_NORMAL, text=_(u'New') + '\tCTRL+N')