Give the nullbitmap a width and height

This commit is contained in:
cncfanatics
2010-08-16 15:49:20 +02:00
parent 4708836aad
commit 8e6de2b36b

View File

@@ -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