BeremizIDE.py
branchwxPython4
changeset 3570 eb915a9fdcb0
parent 3564 d2ca25a2d5d9
child 3586 cbc6a6ccd52e
--- a/BeremizIDE.py	Sat Jul 30 10:11:59 2022 +0200
+++ b/BeremizIDE.py	Sat Jul 30 01:31:17 2022 +0200
@@ -37,6 +37,7 @@
 import wx.lib.buttons
 import wx.lib.statbmp
 import wx.stc
+import wx.adv
 
 
 import version
@@ -964,7 +965,15 @@
         self.Close()
 
     def OnAboutMenu(self, event):
-        info = version.GetAboutDialogInfo()
+        info = wx.adv.AboutDialogInfo()
+        info = version.GetAboutDialogInfo(info)
+        info.Name = "Beremiz"
+        info.Description = _("Open Source framework for automation, "
+            "implemented IEC 61131 IDE with constantly growing set of extensions "
+            "and flexible PLC runtime.")
+
+        info.Icon = wx.Icon(Bpath("images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG)
+
         ShowAboutDialog(self, info)
 
     def OnProjectTreeItemBeginEdit(self, event):