From 8e6de2b36b9519cee5850ffdc9d8aa5275494650 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Mon, 16 Aug 2010 15:49:20 +0200 Subject: [PATCH] Give the nullbitmap a width and height --- gui/bitmapLoader.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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