[GRASS-SVN] r33401 - in grass/branches/develbranch_6/gui/wxpython:
gui_modules vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 11 03:07:56 EDT 2008
Author: martinl
Date: 2008-09-11 03:07:56 -0400 (Thu, 11 Sep 2008)
New Revision: 33401
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
grass/branches/develbranch_6/gui/wxpython/vdigit/driver_draw.cpp
Log:
wxGUI/vdigit: fix area filling
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2008-09-11 06:57:33 UTC (rev 33400)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2008-09-11 07:07:56 UTC (rev 33401)
@@ -1057,7 +1057,7 @@
cats = map(int, list.GetSelectedItems())
digitToolbar = self.mapdisplay.toolbars['vdigit']
- if digitToolbar and \
+ if digitToolbar and digitToolbar.GetLayer() and \
digitToolbar.GetLayer().GetName() == self.vectmap:
self.mapdisplay.digit.driver.SetSelected(cats, cats=True)
Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/driver_draw.cpp
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/driver_draw.cpp 2008-09-11 06:57:33 UTC (rev 33400)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/driver_draw.cpp 2008-09-11 07:07:56 UTC (rev 33401)
@@ -64,8 +64,7 @@
wxBrush *fillArea, *fillAreaSelected, *fillIsle;
- // fillArea = new wxBrush(settings.area.color);
- fillArea = new wxBrush(wxColour(100,100,100,0));
+ fillArea = new wxBrush(settings.area.color);
fillAreaSelected = new wxBrush(settings.highlight);
fillIsle = new wxBrush(*wxWHITE_BRUSH);
More information about the grass-commit
mailing list