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:
Robin Dunn
2006-05-24 04:49:07 +00:00
parent f05326bac1
commit 0fe9c32957
2 changed files with 105 additions and 54 deletions

View File

@@ -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])