mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
Failing to set the icon
This commit is contained in:
BIN
ivolution/data/media/vitruve.bmp
Normal file
BIN
ivolution/data/media/vitruve.bmp
Normal file
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 |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user