Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one XRC file at once into a single output module. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -427,7 +427,7 @@ class Frame(wx.Frame):
|
||||
try:
|
||||
import wx.tools.pywxrc
|
||||
rescomp = wx.tools.pywxrc.XmlResourceCompiler()
|
||||
rescomp.MakePythonModule(dataFile, pypath, embed, genGettext)
|
||||
rescomp.MakePythonModule([dataFile], pypath, embed, genGettext)
|
||||
except:
|
||||
inf = sys.exc_info()
|
||||
wx.LogError(traceback.format_exception(inf[0], inf[1], None)[-1])
|
||||
|
Reference in New Issue
Block a user