From 0edd44ba7c17e4919e218539da0d899b4bc8ce93 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 21 Aug 2003 08:06:57 +0000 Subject: [PATCH] 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 --- docs/latex/wx/mdi.tex | 3 ++- docs/latex/wx/tvalidat.tex | 2 +- docs/latex/wx/txrc.tex | 9 ++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/latex/wx/mdi.tex b/docs/latex/wx/mdi.tex index af241ab117..391c38ec88 100644 --- a/docs/latex/wx/mdi.tex +++ b/docs/latex/wx/mdi.tex @@ -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 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 is the parent for MDI client frames. diff --git a/docs/latex/wx/tvalidat.tex b/docs/latex/wx/tvalidat.tex index 871797c76a..f1caca51e4 100644 --- a/docs/latex/wx/tvalidat.tex +++ b/docs/latex/wx/tvalidat.tex @@ -19,7 +19,7 @@ or you can write your own. Here is an example of wxTextValidator usage. \begin{verbatim} - wxTextCtrl *txt1 = new wxTextCtrl(this, VALIDATE_TEXT, "", + wxTextCtrl *txt1 = new wxTextCtrl(this, -1, wxT(""), wxPoint(10, 10), wxSize(100, 80), 0, wxTextValidator(wxFILTER_ALPHA, &g_data.m_string)); \end{verbatim} diff --git a/docs/latex/wx/txrc.tex b/docs/latex/wx/txrc.tex index 6ab41f6c1f..3d6ae45c69 100644 --- a/docs/latex/wx/txrc.tex +++ b/docs/latex/wx/txrc.tex @@ -84,15 +84,18 @@ To create an XRC file, use one of the following methods. \begin{itemize}\itemsep=0pt \item Create the file by hand; \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 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 convert WIN32 RC files to XRC with the tool in {\tt contrib/utils/convertrc}. \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. You can use \helpref{wxXmlResource::Load}{wxxmlresourceload} in a number of ways.