diff --git a/gui/bitmapLoader.py b/gui/bitmapLoader.py index 78f876e99..c0b955d76 100644 --- a/gui/bitmapLoader.py +++ b/gui/bitmapLoader.py @@ -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