From d6fbaed188446976dccd7d677793fb1f06e4deba Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Tue, 27 Oct 2020 23:34:11 +0100 Subject: [PATCH] Fixing wxPython4 change. --- gui/Gui/Attackwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/Gui/Attackwindow.py b/gui/Gui/Attackwindow.py index 032284e..c0d391d 100644 --- a/gui/Gui/Attackwindow.py +++ b/gui/Gui/Attackwindow.py @@ -119,7 +119,7 @@ class AttackDisplay(wx.ScrolledWindow): if self.attack.filetype == "png": bmp = self.original if not bmp.IsOk(): - bmp = wx.EmptyImage(1,1) + bmp = wx.Image(1,1) else: (originalwidth,originalheight) = (bmp.GetWidth(), bmp.GetHeight()) if self.win.fit: