equal
deleted
inserted
replaced
51 if parent and parent.GetIcon(): |
51 if parent and parent.GetIcon(): |
52 self.SetIcon(parent.GetIcon()) |
52 self.SetIcon(parent.GetIcon()) |
53 |
53 |
54 image = None |
54 image = None |
55 if self.info.Icon: |
55 if self.info.Icon: |
56 bitmap = wx.BitmapFromIcon(self.info.Icon) |
56 bitmap = wx.Bitmap() |
|
57 bitmap.CopyFromIcon(self.info.Icon) |
57 image = wx.StaticBitmap(self, bitmap=bitmap) |
58 image = wx.StaticBitmap(self, bitmap=bitmap) |
58 |
59 |
59 name = wx.StaticText(self, label="%s %s" % (info.Name, info.Version)) |
60 name = wx.StaticText(self, label="%s %s" % (info.Name, info.Version)) |
60 description = wx.StaticText(self, label=info.Description) |
61 description = wx.StaticText(self, label=info.Description) |
61 description.Wrap(400) |
62 description.Wrap(400) |