浏览代码

Update of formatPanelSizer.Show() item parm to wxPython4

Markus Neteler 5 年之前
父节点
当前提交
223821e281
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/animation/dialogs.py

+ 1 - 1
gui/wxpython/animation/dialogs.py

@@ -1368,7 +1368,7 @@ class ExportDialog(wx.Dialog):
 
     def ChangeFormat(self, index):
         for i, panel in enumerate(self.formatPanels):
-            self.formatPanelSizer.Show(item=panel, show=(i == index))
+            self.formatPanelSizer.Show(window=panel, show=(i == index))
         self.formatPanelSizer.Layout()
 
     def OnFont(self, event):