# HG changeset patch # User Edouard Tisserant # Date 1660744556 -7200 # Node ID cbc6a6ccd52e11c3c65302d4ba8ab9441b526658 # Parent efdefbad49eb85a85af205d2b9c46b9e490c5e9e IDE: Fixed About dialog exception on Windows, and typo in about dialog's content. diff -r efdefbad49eb -r cbc6a6ccd52e BeremizIDE.py --- a/BeremizIDE.py Tue Aug 16 23:42:42 2022 +0200 +++ b/BeremizIDE.py Wed Aug 17 15:55:56 2022 +0200 @@ -969,7 +969,7 @@ info = version.GetAboutDialogInfo(info) info.Name = "Beremiz" info.Description = _("Open Source framework for automation, " - "implemented IEC 61131 IDE with constantly growing set of extensions " + "implementing 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) diff -r efdefbad49eb -r cbc6a6ccd52e dialogs/AboutDialog.py --- a/dialogs/AboutDialog.py Tue Aug 16 23:42:42 2022 +0200 +++ b/dialogs/AboutDialog.py Wed Aug 17 15:55:56 2022 +0200 @@ -53,7 +53,8 @@ image = None if self.info.Icon: - bitmap = wx.BitmapFromIcon(self.info.Icon) + bitmap = wx.Bitmap() + bitmap.CopyFromIcon(self.info.Icon) image = wx.StaticBitmap(self, bitmap=bitmap) name = wx.StaticText(self, label="%s %s" % (info.Name, info.Version))