diff -r d51af006fa6b -r 64d8f52bc8c8 PLCOpenEditor.py --- a/PLCOpenEditor.py Fri Aug 11 15:18:19 2017 +0300 +++ b/PLCOpenEditor.py Mon Aug 14 19:13:01 2017 +0300 @@ -156,14 +156,14 @@ # kind=wx.ITEM_NORMAL, text=u'PLCOpen\tF2') #AppendMenu(parent, help='', id=wx.ID_HELP_CONTEXT, # kind=wx.ITEM_NORMAL, text=u'IEC 61131-3\tF3') - + handler=lambda event: { wx.MessageBox(version.GetCommunityHelpMsg(), _(u'Community support'), wx.OK | wx.ICON_INFORMATION) } id = wx.NewId() - parent.Append(help='', id=id, kind=wx.ITEM_NORMAL, text=_(u'Community support')) + parent.Append(help='', id=id, kind=wx.ITEM_NORMAL, text=_(u'Community support')) self.Bind(wx.EVT_MENU, handler, id=id) - + AppendMenu(parent, help='', id=wx.ID_ABOUT, kind=wx.ITEM_NORMAL, text=_(u'About')) self.Bind(wx.EVT_MENU, self.OnPLCOpenEditorMenu, id=wx.ID_HELP) @@ -505,4 +505,3 @@ frame.Show() app.MainLoop() -