From cbe476df0bfffd89091fe4331564fece51f6f304 Mon Sep 17 00:00:00 2001 From: maddox32 Date: Thu, 10 Sep 2020 19:35:54 +0200 Subject: [PATCH] Remove superflous if --- wx/lib/agw/pyprogress.py | 1 - 1 file changed, 1 deletion(-) diff --git a/wx/lib/agw/pyprogress.py b/wx/lib/agw/pyprogress.py index 3a8b6288..72608b14 100644 --- a/wx/lib/agw/pyprogress.py +++ b/wx/lib/agw/pyprogress.py @@ -497,7 +497,6 @@ class PyProgress(wx.Dialog): if not sizeDlgModified: sizeDlg.y += 2*LAYOUT_MARGIN + wx.Button.GetDefaultSize().y - if self._hasAbortButton: sizer.Add(buttonSizer, 0, sizerFlags, LAYOUT_MARGIN ) self.Bind(wx.EVT_CLOSE, self.OnClose)