Pārlūkot izejas kodu

wxGUI: fix typos in variable names

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45979 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 gadi atpakaļ
vecāks
revīzija
f1a8ea0821

+ 1 - 1
gui/wxpython/gui_modules/gdialogs.py

@@ -1244,7 +1244,7 @@ class GdalImportDialog(ImportDialog):
     def OnCmdDialog(self, event):
         """!Show command dialog"""
         name = self._getCommand()
-        menuform.GUI(parentframe = self, modal = True).ParseCommand(cmd = [name])
+        menuform.GUI(parent = self, modal = True).ParseCommand(cmd = [name])
                 
 class DxfImportDialog(ImportDialog):
     """!Dialog for bulk import of DXF layers""" 

+ 1 - 2
gui/wxpython/gui_modules/mcalc_builder.py

@@ -566,8 +566,7 @@ class MapCalcFrame(wx.Frame):
             expr += '='
         expr += mctxt
         
-        menuform.GUI().ParseCommand(cmd = [self.cmd, 'expression=' + expr],
-                                    parentframe = self)
+        menuform.GUI(parent = self).ParseCommand(cmd = [self.cmd, 'expression=' + expr])
         
 if __name__ == "__main__":
     app = wx.App(0)