Failing to set the icon

This commit is contained in:
Julien Lengrand-Lambert
2012-08-22 08:07:34 +02:00
parent 15b412cbac
commit f4c34aaa5b
4 changed files with 2 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 794 B

View File

@@ -38,14 +38,10 @@ class IvolutionWindow(wx.Frame, Observer, Observable):
Observer.__init__(self, title)
Observable.__init__(self)
self.gaugerange = 100 # max value of progress bar
self.gaugerange = 100 # max value of progress bar
# Sets icon
# ib = wx.IconBundle()
# ib.AddIconFromFile("ivolution/data/media/vitruve_64.png", wx.BITMAP_TYPE_ANY)
# self.SetIcons(ib)
# image = wx.Image("ivolution/data/media/vitruve_64.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
# image = wx.Image("ivolution/data/media/vitruve.png", wx.BITMAP_TYPE_PNG).ConvertToBitmap()
# icon = wx.EmptyIcon()
# icon.CopyFromBitmap(image)
# self.SetIcon(icon)