Merge pull request #1677 from MaruMaruOO/issue/1673
Have missing icons display as question mark icons
This commit is contained in:
@@ -49,7 +49,7 @@ class BitmapLoader(object):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def getStaticBitmap(cls, name, parent, location):
|
def getStaticBitmap(cls, name, parent, location):
|
||||||
static = wx.StaticBitmap(parent)
|
static = wx.StaticBitmap(parent)
|
||||||
static.SetBitmap(cls.getBitmap(name, location))
|
static.SetBitmap(cls.getBitmap(name or 0, location))
|
||||||
return static
|
return static
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user