[GRASS-SVN] r30421 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 2 11:50:18 EST 2008


Author: martinl
Date: 2008-03-02 11:50:18 -0500 (Sun, 02 Mar 2008)
New Revision: 30421

Modified:
   grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI: (welcome screen) logo fixed (parent=self.panel)

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2008-03-02 13:02:33 UTC (rev 30420)
+++ grass/trunk/gui/wxpython/gis_set.py	2008-03-02 16:50:18 UTC (rev 30421)
@@ -61,11 +61,11 @@
         # image
         try:
             name = os.path.join(globalvar.ETCDIR, "gintro.gif")
-            self.hbitmap = wx.StaticBitmap(self, wx.ID_ANY,
+            self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY,
                                            wx.Bitmap(name=name,
                                                      type=wx.BITMAP_TYPE_GIF))
         except:
-            self.hbitmap = wx.StaticBitmap(self, wx.ID_ANY, wx.EmptyBitmap(530,150))
+            self.hbitmap = wx.StaticBitmap(self.panel, wx.ID_ANY, wx.EmptyBitmap(530,150))
 
         # labels
         ### crashes when LOCATION doesn't exist



More information about the grass-commit mailing list