[GRASS-SVN] r57088 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 13 09:47:45 PDT 2013
Author: annakrat
Date: 2013-07-13 09:47:45 -0700 (Sat, 13 Jul 2013)
New Revision: 57088
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI/startup: initialize picture to black when it fails to display
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2013-07-13 16:43:01 UTC (rev 57087)
+++ grass/trunk/gui/wxpython/gis_set.py 2013-07-13 16:47:45 UTC (rev 57088)
@@ -94,7 +94,7 @@
wx.Bitmap(name = name,
type = wx.BITMAP_TYPE_PNG))
except:
- self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY, wx.EmptyBitmap(530,150))
+ self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY, wx.BitmapFromImage(wx.EmptyImage(530,150)))
# labels
### crashes when LOCATION doesn't exist
More information about the grass-commit
mailing list