Updated XRC tool section.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-21 08:06:57 +00:00
parent f4e096c56e
commit 0edd44ba7c
3 changed files with 9 additions and 5 deletions

View File

@@ -241,7 +241,8 @@ and is used in many popular Windows applications, such as Microsoft Word(TM).
There may be multiple MDI parent frames in a single application, but this probably only makes sense There may be multiple MDI parent frames in a single application, but this probably only makes sense
within programming development environments. within programming development environments.
Child frames may be either \helpref{wxMDIChildFrame}{wxmdichildframe}, or \helpref{wxFrame}{wxframe}. Child frames may be of class \helpref{wxMDIChildFrame}{wxmdichildframe} (contained
within the parent frame) or \helpref{wxFrame}{wxframe} (shown as a top-level frame).
An MDI parent frame always has a \helpref{wxMDIClientWindow}{wxmdiclientwindow} associated with it, which An MDI parent frame always has a \helpref{wxMDIClientWindow}{wxmdiclientwindow} associated with it, which
is the parent for MDI client frames. is the parent for MDI client frames.

View File

@@ -19,7 +19,7 @@ or you can write your own.
Here is an example of wxTextValidator usage. Here is an example of wxTextValidator usage.
\begin{verbatim} \begin{verbatim}
wxTextCtrl *txt1 = new wxTextCtrl(this, VALIDATE_TEXT, "", wxTextCtrl *txt1 = new wxTextCtrl(this, -1, wxT(""),
wxPoint(10, 10), wxSize(100, 80), 0, wxPoint(10, 10), wxSize(100, 80), 0,
wxTextValidator(wxFILTER_ALPHA, &g_data.m_string)); wxTextValidator(wxFILTER_ALPHA, &g_data.m_string));
\end{verbatim} \end{verbatim}

View File

@@ -84,15 +84,18 @@ To create an XRC file, use one of the following methods.
\begin{itemize}\itemsep=0pt \begin{itemize}\itemsep=0pt
\item Create the file by hand; \item Create the file by hand;
\item use \urlref{wxDesigner}{http://www.roebling.de}, a commercial dialog designer/RAD tool; \item use \urlref{wxDesigner}{http://www.roebling.de}, a commercial dialog designer/RAD tool;
\item use \urlref{XRCed}{http://www.mema.ucl.ac.be/~rolinsky/xrced/}, a wxPython-based \item use \urlref{DialogBlocks}{http://www.anthemion.co.uk/dialogblocks}, a commercial dialog editor;
\item use \urlref{XRCed}{http://xrced.sf.net}, a wxPython-based
dialog editor that you can find in the {\tt wxPython/tools} subdirectory of the wxWindows dialog editor that you can find in the {\tt wxPython/tools} subdirectory of the wxWindows
CVS archive; CVS archive;
\item use \urlref{wxWorkshop}{http://wxworkshop.sourceforge.net} (under development); \item use \urlref{Glade}{http://wxglade.sf.net}, a GUI designer written in wxPython. At the moment it can generate Python, C++ and XRC;
\item use wxrcedit ({\tt utils/contrib/wxrcedit}) (under development); \item use wxrcedit ({\tt utils/contrib/wxrcedit}) (under development);
\item convert WIN32 RC files to XRC with the tool in {\tt contrib/utils/convertrc}. \item convert WIN32 RC files to XRC with the tool in {\tt contrib/utils/convertrc}.
\end{itemize} \end{itemize}
It is highly recommended that you use a tool such as wxDesigner, since it's fiddly writing A complete list of third-party tools that write to XRC can be found at \urlref{www.wxwindows.org/lnk_tool.htm}{http://www.wxwindows.org/lnk_tool.in}.
It is highly recommended that you use a resource editing tool, since it's fiddly writing
XRC files by hand. XRC files by hand.
You can use \helpref{wxXmlResource::Load}{wxxmlresourceload} in a number of ways. You can use \helpref{wxXmlResource::Load}{wxxmlresourceload} in a number of ways.