浏览代码

wxGUI: set background color for map window (wxPython 3)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64143 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父节点
当前提交
934fd0f3fe
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/mapwin/buffered.py

+ 2 - 1
gui/wxpython/mapwin/buffered.py

@@ -74,7 +74,8 @@ class BufferedMapWindow(MapWindowBase, wx.Window):
         """
         MapWindowBase.__init__(self, parent=parent, giface=giface, Map=Map)
         wx.Window.__init__(self, parent=parent, id=id, style=style, **kwargs)
-
+        self.SetBackgroundColour("white")
+        
         self._properties = properties
 
         # flags