Give the nullbitmap a width and height
This commit is contained in:
@@ -39,4 +39,7 @@ def getBitmap(name,location):
|
||||
if os.path.exists(path):
|
||||
return wx.Image(path).ConvertToBitmap()
|
||||
else:
|
||||
return wx.NullBitmap
|
||||
null = wx.NullBitmap
|
||||
null.SetWidth(32)
|
||||
null.SetHeight(32)
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user