285 def _init_coll_AddMenu_Items(self, parent): |
285 def _init_coll_AddMenu_Items(self, parent): |
286 IDEFrame._init_coll_AddMenu_Items(self, parent, False) |
286 IDEFrame._init_coll_AddMenu_Items(self, parent, False) |
287 self._RecursiveAddMenuItems(parent, GetAddMenuItems()) |
287 self._RecursiveAddMenuItems(parent, GetAddMenuItems()) |
288 |
288 |
289 def _init_coll_HelpMenu_Items(self, parent): |
289 def _init_coll_HelpMenu_Items(self, parent): |
290 handler = lambda event: { |
290 def handler(event): |
291 wx.MessageBox(version.GetCommunityHelpMsg(), _(u'Community support'), wx.OK | wx.ICON_INFORMATION) |
291 return wx.MessageBox( |
292 } |
292 version.GetCommunityHelpMsg(), |
|
293 _(u'Community support'), |
|
294 wx.OK | wx.ICON_INFORMATION) |
|
295 |
293 id = wx.NewId() |
296 id = wx.NewId() |
294 parent.Append(help='', id=id, kind=wx.ITEM_NORMAL, text=_(u'Community support')) |
297 parent.Append(help='', id=id, kind=wx.ITEM_NORMAL, text=_(u'Community support')) |
295 self.Bind(wx.EVT_MENU, handler, id=id) |
298 self.Bind(wx.EVT_MENU, handler, id=id) |
296 |
299 |
297 parent.Append(help='', id=wx.ID_ABOUT, |
300 parent.Append(help='', id=wx.ID_ABOUT, |