[GRASS-SVN] r50411 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 24 06:59:24 EST 2012


Author: martinl
Date: 2012-01-24 03:59:24 -0800 (Tue, 24 Jan 2012)
New Revision: 50411

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: wx.Choice has no wx.CB_READONLY style (avoid crashing wxPython on Windows)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2012-01-24 11:56:35 UTC (rev 50410)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2012-01-24 11:59:24 UTC (rev 50411)
@@ -1650,7 +1650,7 @@
         @param parent parent window
         """
         super(ElementSelect, self).__init__(parent, id, size = size, 
-                                            style = wx.CB_READONLY, **kwargs)
+                                            **kwargs)
         self.SetName("ElementSelect")
         
         task = gtask.parse_interface('g.list')



More information about the grass-commit mailing list