Dyslectic typos
authorEdouard Tisserant
Tue, 26 Mar 2019 13:54:36 +0100
changeset 2565 b5ce86166880
parent 2558 c9d16163f981
child 2568 c73fd7467669
child 2577 f88eef34a523
Dyslectic typos
editors/Viewer.py
--- a/editors/Viewer.py	Tue Mar 26 11:08:32 2019 +0100
+++ b/editors/Viewer.py	Tue Mar 26 13:54:36 2019 +0100
@@ -1628,9 +1628,9 @@
         iec_path = self.GetElementIECPath(self.SelectedElement)
         if iec_path is not None:
             menu = wx.Menu(title='')
-            item = menu.Append(wx.ANY_ID, help='', kind=wx.ITEM_NORMAL, text=_("Force value"))
+            item = menu.Append(wx.ID_ANY, help='', kind=wx.ITEM_NORMAL, text=_("Force value"))
             self.Bind(wx.EVT_MENU, self.GetForceVariableMenuFunction(iec_path.upper(), self.SelectedElement), item)
-            ritem = menu.Append(wx.ANY_ID, help='', kind=wx.ITEM_NORMAL, text=_("Release value"))
+            ritem = menu.Append(wx.ID_ANY, help='', kind=wx.ITEM_NORMAL, text=_("Release value"))
             self.Bind(wx.EVT_MENU, self.GetReleaseVariableMenuFunction(iec_path.upper()), ritem)
             if self.SelectedElement.IsForced():
                 ritem.Enable(True)