I use wxGlade to create Python scripts, which use wxWidgets. wxGlade directly manipulates XML files, which describe the wxWidgets based GUI. Those files have the *.wxg extension. From the *.wxg files, it is possible to generate code which actually runs the GUI in one of several languages, and I am using it to generate Python code.
I would like to add a copyright statement to my *.wxg files and also to the generated code. I tried to hand-edit a *.wxg file and added my copyright statement as a HTML comment, but after editing the file in wxGlade and saving the edited version, my comment disappearesd.
How can I add a copyright statement to those files without hand-editing them after each save from wxGlade?