浏览代码

remove self from arguments in calling of UpdateMap method

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55255 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 12 年之前
父节点
当前提交
bc3f797025
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/mapdisp/mapwindow.py

+ 1 - 1
gui/wxpython/mapdisp/mapwindow.py

@@ -596,7 +596,7 @@ class BufferedWindow(MapWindow, wx.Window):
             Debug.msg (1, "Invalid call of EVT_UPDATE_MAP event.")
             return
 
-        self.UpdateMap(self, **kwargs)
+        self.UpdateMap(**kwargs)
 
     def UpdateMap(self, render = True, renderVector = True):
         """!Updates the canvas anytime there is a change to the