Browse Source

https://trac.osgeo.org/grass/ticket/1543 (WXGUI GDAL/OGR import dialogs fail to open in WinGRASS)
(merge https://trac.osgeo.org/grass/changeset/50409 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50410 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 13 years ago
parent
commit
22c093c55a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gui/wxpython/gui_core/gselect.py

+ 2 - 2
gui/wxpython/gui_core/gselect.py

@@ -1012,7 +1012,7 @@ class FormatSelect(wx.Choice):
         @param ogr True for OGR otherwise GDAL
         """
         super(FormatSelect, self).__init__(parent, id, size = size, 
-                                           style = wx.CB_READONLY, **kwargs)
+                                           **kwargs)
         self.SetName("FormatSelect")
         
         if ogr:
@@ -1792,7 +1792,7 @@ class ElementSelect(wx.Choice):
         @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')