BeremizIDE.py
changeset 1692 9cb4d1392baf
parent 1684 1447424a7029
child 1708 24416137cda7
equal deleted inserted replaced
1691:9a42f12a973e 1692:9cb4d1392baf
   270     def _init_coll_AddMenu_Items(self, parent):
   270     def _init_coll_AddMenu_Items(self, parent):
   271         IDEFrame._init_coll_AddMenu_Items(self, parent, False)
   271         IDEFrame._init_coll_AddMenu_Items(self, parent, False)
   272         self._RecursiveAddMenuItems(parent, GetAddMenuItems())
   272         self._RecursiveAddMenuItems(parent, GetAddMenuItems())
   273 
   273 
   274     def _init_coll_HelpMenu_Items(self, parent):
   274     def _init_coll_HelpMenu_Items(self, parent):
       
   275         handler=lambda event: {
       
   276             wx.MessageBox(version.GetCommunityHelpMsg(), _(u'Community support'), wx.OK | wx.ICON_INFORMATION)
       
   277         }
       
   278         id = wx.NewId()
       
   279         parent.Append(help='', id=id, kind=wx.ITEM_NORMAL, text=_(u'Community support'))        
       
   280         self.Bind(wx.EVT_MENU, handler, id=id)
       
   281         
   275         parent.Append(help='', id=wx.ID_ABOUT,
   282         parent.Append(help='', id=wx.ID_ABOUT,
   276               kind=wx.ITEM_NORMAL, text=_(u'About'))
   283               kind=wx.ITEM_NORMAL, text=_(u'About'))
   277         self.Bind(wx.EVT_MENU, self.OnAboutMenu, id=wx.ID_ABOUT)
   284         self.Bind(wx.EVT_MENU, self.OnAboutMenu, id=wx.ID_ABOUT)
   278 
   285 
   279     def _init_coll_ConnectionStatusBar_Fields(self, parent):
   286     def _init_coll_ConnectionStatusBar_Fields(self, parent):