[GRASS-SVN] r46897 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 1 04:27:50 EDT 2011
Author: martinl
Date: 2011-07-01 01:27:49 -0700 (Fri, 01 Jul 2011)
New Revision: 46897
Modified:
grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
Log:
wxNviz: no extraStyle defined in wxPython 2.8.11
Modified: grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_tools.py 2011-07-01 08:16:31 UTC (rev 46896)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_tools.py 2011-07-01 08:27:49 UTC (rev 46897)
@@ -382,7 +382,7 @@
## style.SetCaptionStyle(fpb.CAPTIONBAR_FILLED_RECTANGLE)
## style.SetFirstColour(wx.Color(250,250,250))
self.foldpanelData = fpb.FoldPanelBar(parent = self.mainPanelData, id = wx.ID_ANY,
- extraStyle = fpb.FPB_SINGLE_FOLD)
+ style = fpb.FPB_SINGLE_FOLD)
self.foldpanelData.Bind(fpb.EVT_CAPTIONBAR, self.OnPressCaption)
@@ -427,7 +427,7 @@
self.mainPanelAppear = ScrolledPanel(parent = self)
self.mainPanelAppear.SetupScrolling(scroll_x = False)
self.foldpanelAppear = fpb.FoldPanelBar(parent = self.mainPanelAppear, id = wx.ID_ANY,
- extraStyle = fpb.FPB_SINGLE_FOLD)
+ style = fpb.FPB_SINGLE_FOLD)
self.foldpanelAppear.Bind(fpb.EVT_CAPTIONBAR, self.OnPressCaption)
# light page
lightPanel = self.foldpanelAppear.AddFoldPanel(_("Lighting"), collapsed = False)
@@ -454,7 +454,7 @@
self.mainPanelAnalysis = ScrolledPanel(parent = self)
self.mainPanelAnalysis.SetupScrolling(scroll_x = False)
self.foldpanelAnalysis = fpb.FoldPanelBar(parent = self.mainPanelAnalysis, id = wx.ID_ANY,
- extraStyle = fpb.FPB_SINGLE_FOLD)
+ style = fpb.FPB_SINGLE_FOLD)
self.foldpanelAnalysis.Bind(fpb.EVT_CAPTIONBAR, self.OnPressCaption)
# cutting planes page
cplanePanel = self.foldpanelAnalysis.AddFoldPanel(_("Cutting planes"), collapsed = False)
More information about the grass-commit
mailing list