Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
934fd0f3fe
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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