I have two different pyApps, and I want to make a task bar Icons. For one I use .ico file and another .png file. The .ico one works but not the .png file. Does it mean I cannot use PNG file to make taskbar icon?
Here is a code that worked in one and failed in the next
This worked
#Set Icon for the program
icon = wx.Icon("./icons/app.ico", wx.BITMAP_TYPE_ICO)
self.SetIcon(icon)
This failed
#App icon
icon = wx.Icon("./icons/app.png", wx.BITMAP_TYPE_PNG)
self.SetIcon(icon)