mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
Trying to get the icon working. Failing for now
This commit is contained in:
BIN
ivolution/data/media/vitruve.ico
Normal file
BIN
ivolution/data/media/vitruve.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
@@ -27,6 +27,16 @@ class IvolutionWindow(wx.Frame):
|
||||
"""
|
||||
wx.Frame.__init__(self, parent, title=title, size=(500, 700))
|
||||
|
||||
# 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()
|
||||
icon = wx.EmptyIcon()
|
||||
icon.CopyFromBitmap(image)
|
||||
self.SetIcon(icon)
|
||||
|
||||
# Sets up logging capability
|
||||
self.my_logger = None
|
||||
self.console_logger = None
|
||||
|
||||
Reference in New Issue
Block a user