PLCOpenEditor.py
changeset 1692 9cb4d1392baf
parent 1680 6db967480b7d
child 1718 703ddaf48b00
--- a/PLCOpenEditor.py	Tue Jun 06 13:13:57 2017 +0300
+++ b/PLCOpenEditor.py	Tue Jun 06 14:21:53 2017 +0300
@@ -156,6 +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'))        
+        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)