These are the typical steps for using XRC files in your application.
To create an XRC file, you can use one of the following methods.
#2
), a commercial dialog designer/RAD tool;
#2
), a commercial dialog editor;
#2
), a wxPython-based
dialog editor that you can find in the wxPython/tools subdirectory of the wxWidgets
CVS archive;
#2
), a GUI designer written in wxPython. At the moment it can generate Python, C++ and XRC;
A complete list of third-party tools that write to XRC can be found at www.wxwidgets.org/lnk_tool.htm (#2
).
It is highly recommended that you use a resource editing tool, since it's fiddly writing XRC files by hand.
You can use wxXmlResource::Load in a number of ways. You can pass an XRC file (XML-based text resource file) or a zip-compressed file (extension ZIP or XRS) containing other XRC.
You can also use embedded C++ resources
ymasuda 平成17年11月19日