X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2481bf3cb684141768951d987a5adce365735051..a7d8ec1e42288ca161d70e754bbe32dd387c7765:/wxPython/wx/tools/XRCed/xrced.py diff --git a/wxPython/wx/tools/XRCed/xrced.py b/wxPython/wx/tools/XRCed/xrced.py index f1ba7d58c8..63cc39c6f2 100644 --- a/wxPython/wx/tools/XRCed/xrced.py +++ b/wxPython/wx/tools/XRCed/xrced.py @@ -6,7 +6,7 @@ """ -xrced -- Simple resource editor for XRC format used by wxWindows/wxPython +xrced -- Simple resource editor for XRC format used by wxWidgets/wxPython GUI toolkit. Usage: @@ -20,14 +20,15 @@ Options: -v output version info and exit """ - from globals import * -import os, sys, getopt, re, traceback +import os, sys, getopt, re, traceback, tempfile, shutil, cPickle +from xml.parsers import expat # Local modules from tree import * # imports xxx which imports params from panel import * from tools import * +from params import genericStyles # Cleanup recursive import sideeffects, otherwise we can't create undoMan import undo undo.ParamPage = ParamPage @@ -39,6 +40,9 @@ if __name__ == '__main__': else: basePath = os.path.dirname(__file__) +# Remember system path +sys_path = sys.path + # 1 adds CMD command to Help menu debug = 0 @@ -50,38 +54,47 @@ select "Append Child", and then any command.
Or just press one of the buttons on the tools palette.
Enter XML ID, change properties, create children.
To test your interface select Test command (View menu).
-Consult README file for the details.