[GRASS-SVN] r51953 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 3 06:22:29 PDT 2012
Author: martinl
Date: 2012-06-03 06:22:28 -0700 (Sun, 03 Jun 2012)
New Revision: 51953
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: use ScrolledPanel from gui_core.widgets
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2012-06-03 13:21:23 UTC (rev 51952)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2012-06-03 13:22:28 UTC (rev 51953)
@@ -32,7 +32,7 @@
@todo
- verify option value types
-Copyright(C) 2000-2011 by the GRASS Development Team
+Copyright(C) 2000-2012 by the GRASS Development Team
This program is free software under the GPL(>=v2) Read the file
COPYING coming with GRASS for details.
@@ -73,7 +73,6 @@
import wx.lib.flatnotebook as FN
import wx.lib.colourselect as csel
import wx.lib.filebrowsebutton as filebrowse
-import wx.lib.scrolledpanel as scrolled
from wx.lib.newevent import NewEvent
try:
@@ -84,7 +83,7 @@
from grass.script import core as grass
from grass.script import task as gtask
-from gui_core.widgets import StaticWrapText
+from gui_core.widgets import StaticWrapText, ScrolledPanel
from gui_core.ghelp import HelpPanel
from gui_core import gselect
from core import gcmd
@@ -820,7 +819,7 @@
tab = {}
tabsizer = {}
for section in sections:
- tab[section] = scrolled.ScrolledPanel(parent = self.notebook)
+ tab[section] = ScrolledPanel(parent = self.notebook)
tab[section].SetScrollRate(10, 10)
tabsizer[section] = wx.BoxSizer(orient = wx.VERTICAL)
self.notebook.AddPage(page = tab[section], text = section)
More information about the grass-commit
mailing list