From e17a8a907a1892234afefaf16d1ba372697d3868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Colomb?= Date: Fri, 2 Feb 2018 17:28:39 +0100 Subject: [PATCH] Avoid deprecated class EmptyXmlResource. According to the deprecation warning in wxPython Phoenix. --- wx/tools/pywxrc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx/tools/pywxrc.py b/wx/tools/pywxrc.py index 3457d706..78d9e84e 100644 --- a/wx/tools/pywxrc.py +++ b/wx/tools/pywxrc.py @@ -213,7 +213,7 @@ class xrc%(windowName)s(wx.%(windowClass)s): def __init_resources(): global __res - __res = xrc.EmptyXmlResource() + __res = xrc.XmlResource() """ LOAD_RES_FILE = """\