branch | wxPython4 |
changeset 3586 | cbc6a6ccd52e |
parent 3570 | eb915a9fdcb0 |
child 3750 | f62625418bff |
--- 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))