[GRASS-SVN] r33764 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 8 11:11:14 EDT 2008
Author: martinl
Date: 2008-10-08 11:11:14 -0400 (Wed, 08 Oct 2008)
New Revision: 33764
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: combobox in dialog read only
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2008-10-08 12:58:28 UTC (rev 33763)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2008-10-08 15:11:14 UTC (rev 33764)
@@ -1077,7 +1077,7 @@
flag=wx.ADJUST_MINSIZE | wx.TOP | wx.RIGHT | wx.LEFT, border=5)
cb = wx.ComboBox(parent=which_panel, id=wx.ID_ANY, value=p.get('default',''),
size=globalvar.DIALOG_COMBOBOX_SIZE,
- choices=valuelist, style=wx.CB_DROPDOWN)
+ choices=valuelist, style=wx.CB_DROPDOWN | wx.CB_READONLY)
if p.get('value','') != '':
cb.SetValue(p['value']) # parameter previously set
which_sizer.Add( item=cb, proportion=0,
More information about the grass-commit
mailing list