[GRASS-SVN] r41410 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 12 11:55:03 EST 2010


Author: martinl
Date: 2010-03-12 11:55:03 -0500 (Fri, 12 Mar 2010)
New Revision: 41410

Modified:
   grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
partial fix #509
(merge r41408 & r41409 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py	2010-03-12 16:50:46 UTC (rev 41409)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py	2010-03-12 16:55:03 UTC (rev 41410)
@@ -10,7 +10,7 @@
  - GRASSStartup
  - StartUp
 
-(C) 2006-2009 by the GRASS Development Team
+(C) 2006-2010 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -41,6 +41,7 @@
 import wx.lib.rcsizer as rcs
 import wx.lib.filebrowsebutton as filebrowse
 import wx.lib.mixins.listctrl as listmix
+import wx.lib.scrolledpanel as scrolled
 
 class GRASSStartup(wx.Frame):
     """!GRASS start-up screen"""
@@ -63,9 +64,9 @@
         wx.Frame.__init__(self, parent=parent, id=id, style=style)
         
         self.locale = wx.Locale(language = wx.LANGUAGE_DEFAULT)
-
-        self.panel = wx.Panel(parent=self, id=wx.ID_ANY)
-
+        
+        self.panel = scrolled.ScrolledPanel(parent = self, id = wx.ID_ANY)
+        
         # i18N
         import gettext
         gettext.install('grasswxpy', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)



More information about the grass-commit mailing list