瀏覽代碼

wxGUI/datacatalog: fix tree rendering on Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66230 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 年之前
父節點
當前提交
910b9b28ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/datacatalog/tree.py

+ 1 - 1
gui/wxpython/datacatalog/tree.py

@@ -32,7 +32,7 @@ from grass.pydispatch.signal import Signal
 import grass.script as grass
 
 class LocationMapTree(wx.TreeCtrl):
-    def __init__(self, parent, style=wx.TR_HIDE_ROOT | wx.TR_EDIT_LABELS | 
+    def __init__(self, parent, style=wx.TR_HIDE_ROOT | wx.TR_EDIT_LABELS | wx.TR_LINES_AT_ROOT |
                  wx.TR_HAS_BUTTONS | wx.TR_FULL_ROW_HIGHLIGHT | wx.TR_SINGLE):
         """Location Map Tree constructor."""
         super(LocationMapTree, self).__init__(parent, id=wx.ID_ANY, style=style)