PLCOpenEditor.py
changeset 396 9089bc4a92e5
parent 391 07447ee3538e
child 397 ea47ebbe23b7
equal deleted inserted replaced
395:d432eae889ed 396:9089bc4a92e5
   370     def _init_coll_EditMenu_Items(self, parent):
   370     def _init_coll_EditMenu_Items(self, parent):
   371         AppendMenu(parent, help='', id=wx.ID_UNDO,
   371         AppendMenu(parent, help='', id=wx.ID_UNDO,
   372               kind=wx.ITEM_NORMAL, text=_(u'Undo\tCTRL+Z'))
   372               kind=wx.ITEM_NORMAL, text=_(u'Undo\tCTRL+Z'))
   373         AppendMenu(parent, help='', id=wx.ID_REDO,
   373         AppendMenu(parent, help='', id=wx.ID_REDO,
   374               kind=wx.ITEM_NORMAL, text=_(u'Redo\tCTRL+Y'))
   374               kind=wx.ITEM_NORMAL, text=_(u'Redo\tCTRL+Y'))
       
   375         AppendMenu(parent, help='', id=ID_PLCOPENEDITOREDITMENUENABLEUNDOREDO,
       
   376               kind=wx.ITEM_CHECK, text=_(u'Enable Undo/Redo'))
   375         parent.AppendSeparator()
   377         parent.AppendSeparator()
   376         AppendMenu(parent, help='', id=wx.ID_CUT,
   378         AppendMenu(parent, help='', id=wx.ID_CUT,
   377               kind=wx.ITEM_NORMAL, text=_(u'Cut\tCTRL+X'))
   379               kind=wx.ITEM_NORMAL, text=_(u'Cut\tCTRL+X'))
   378         AppendMenu(parent, help='', id=wx.ID_COPY,
   380         AppendMenu(parent, help='', id=wx.ID_COPY,
   379               kind=wx.ITEM_NORMAL, text=_(u'Copy\tCTRL+C'))
   381               kind=wx.ITEM_NORMAL, text=_(u'Copy\tCTRL+C'))