Avoid deprecated class EmptyXmlResource.

According to the deprecation warning in wxPython Phoenix.
This commit is contained in:
André Colomb
2018-02-02 17:28:39 +01:00
parent 25f1799313
commit e17a8a907a

View File

@@ -213,7 +213,7 @@ class xrc%(windowName)s(wx.%(windowClass)s):
def __init_resources(): def __init_resources():
global __res global __res
__res = xrc.EmptyXmlResource() __res = xrc.XmlResource()
""" """
LOAD_RES_FILE = """\ LOAD_RES_FILE = """\