108 |
for location in self.menulist: |
for location in self.menulist: |
109 |
tid = wx.wxNewId() |
tid = wx.wxNewId() |
110 |
menu.Append ( tid, '&%s %s' % (i+1, location), |
menu.Append ( tid, '&%s %s' % (i+1, location), |
111 |
'Open "%s" in a new window' % self._locations[i] ) |
_('Open "%s" in a new window') % self._locations[i] ) |
112 |
|
|
113 |
wx.EVT_MENU(menu.__instance, tid, self._app.OnOpenRecent) |
wx.EVT_MENU(menu.__instance, tid, self._app.OnOpenRecent) |
114 |
self.mruMenuMap[tid] = self._locations[i] |
self.mruMenuMap[tid] = self._locations[i] |