X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd330a69c9555c29c6fc448a61e58e0d49402c47..bb41dcbe3a1ee4df0cd6a44e9cfb6a55b5d94fd6:/docs/latex/wx/xmlres.tex diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex index ed5913cd23..2f6fe90453 100644 --- a/docs/latex/wx/xmlres.tex +++ b/docs/latex/wx/xmlres.tex @@ -25,13 +25,13 @@ try to use it, you will get link errors. \wxheading{Data structures} -\begin{enumerate} +\begin{verbatim} enum wxXmlResourceFlags { wxXRC_USE_LOCALE = 1, wxXRC_NO_SUBCLASSING = 2 }; -\end{enumerate} +\end{verbatim} \latexignore{\rtfignore{\wxheading{Members}}} @@ -106,7 +106,7 @@ Helper function: finds a resource (calls UpdateResources) and returns a node con \membersection{wxXmlResource::FindResource}\label{wxxmlresourcefindresource} -\func{wxXmlNode*}{FindResource}{\param{const wxString\& }{name}, \param{const wxString\& }{classname}, \param{bool }{recursive = FALSE}} +\func{wxXmlNode*}{FindResource}{\param{const wxString\& }{name}, \param{const wxString\& }{classname}, \param{bool }{recursive = false}} Finds a resource (calls UpdateResources) and returns a node containing it. @@ -126,15 +126,15 @@ Returns flags, which may be a bitlist of wxXRC\_USE\_LOCALE and wxXRC\_NO\_SUBCL \constfunc{long}{GetVersion}{\void} -Returns version information (a.b.c.d = d+ 256*c + 256\verb|^|2*b + 256\verb|^|3*a). +Returns version information (a.b.c.d = d+ 256*c + 256\textasciicircum2*b + 256\textasciitilde3*a). -\membersection{wxXmlResource::GetXMLID}\label{wxxmlresourcegetxmlid} +\membersection{wxXmlResource::GetXRCID}\label{wxxmlresourcegetxmlid} -\func{int}{GetXMLID}{\param{const wxChar* }{str\_id}} +\func{int}{GetXRCID}{\param{const wxChar* }{str\_id}} Returns a numeric ID that is equivalent to the string ID used in an XML resource. To be used in event tables. -The macro \verb$XMLID(name)$ is provided for convenience. +The macro {\tt XRCID(name)} is provided for convenience. \membersection{wxXmlResource::InitAllHandlers}\label{wxxmlresourceinitallhandlers} @@ -229,6 +229,12 @@ Loads a toolbar. Sets the global resources object and returns a pointer to the previous one (may be NULL). +\membersection{wxXmlResource::SetFlags}\label{wxxmlresourcesetflags} + +\func{int}{SetFlags}{\void} + +Sets flags (bitlist of wxXRC\_USE\_LOCALE and wxXRC\_NO\_SUBCLASSING). + \membersection{wxXmlResource::UpdateResources}\label{wxxmlresourceupdateresources} \func{void}{UpdateResources}{\void}