mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26:37 +00:00
MiRCART.py:MiRCARTFrame.__init__(): disable (grey out) menuEdit{Redo,Undo} initially.
This commit is contained in:
parent
c7fbe5b20c
commit
813d49a3f2
@ -481,8 +481,10 @@ class MiRCARTFrame(wx.Frame):
|
||||
|
||||
self.menuEdit = wx.Menu()
|
||||
self.menuEditUndo = self.menuEdit.Append(wx.ID_UNDO, "&Undo", "Undo")
|
||||
self.menuEditUndo.Enable(False)
|
||||
self.Bind(wx.EVT_MENU, self.onEditUndo, self.menuEditUndo)
|
||||
self.menuEditRedo = self.menuEdit.Append(wx.ID_REDO, "&Redo", "Redo")
|
||||
self.menuEditRedo.Enable(False)
|
||||
self.Bind(wx.EVT_MENU, self.onEditRedo, self.menuEditRedo)
|
||||
self.menuEdit.AppendSeparator()
|
||||
self.menuEditCut = self.menuEdit.Append(wx.ID_CUT, "Cu&t", "Cut")
|
||||
|
Loading…
Reference in New Issue
Block a user