瀏覽代碼

wxGUI: fix Gtk warnings when switching to 3D view (since https://trac.osgeo.org/grass/changeset/50013)

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

+ 1 - 1
gui/wxpython/gui_core/widgets.py

@@ -98,7 +98,7 @@ class GNotebook(FN.FlatNotebook):
 
 class ScrolledPanel(SP.ScrolledPanel):
     """!Custom ScrolledPanel to avoid strange behaviour concerning focus"""
-    def __init__(self, parent, style = wx.TAB_TRAVERSAL | wx.SUNKEN_BORDER):
+    def __init__(self, parent, style = wx.TAB_TRAVERSAL):
         SP.ScrolledPanel.__init__(self, parent = parent, id = wx.ID_ANY, style = style)
 
     def OnChildFocus(self, event):