X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7af3ca164537ce06c7df5f9923a53a0d82e21cd0..4116fac052b9b6f7963b4acf2721a24075692454:/docs/latex/wx/xmlres.tex?ds=sidebyside diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex index da7f494512..4d22e9931b 100644 --- a/docs/latex/wx/xmlres.tex +++ b/docs/latex/wx/xmlres.tex @@ -11,10 +11,6 @@ The class holds XML resources from one or more .xml files, binary files or zip a See \helpref{XML-based resource system overview}{xrcoverview} for details. -{\bf NOTE:} XRC is not yet a part of the core wxWindows library, so -please see the overview for how to compile and link it. Otherwise if you -try to use it, you will get link errors. - \wxheading{Derived from} \helpref{wxObject}{wxobject} @@ -28,14 +24,14 @@ try to use it, you will get link errors. \begin{verbatim} enum wxXmlResourceFlags { - wxXRC\_USE\_LOCALE = 1, - wxXRC\_NO\_SUBCLASSING = 2 + wxXRC_USE_LOCALE = 1, + wxXRC_NO_SUBCLASSING = 2 }; \end{verbatim} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxXmlResource::wxXmlResource}\label{wxxmlresourcewxxmlresource} +\membersection{wxXmlResource::wxXmlResource}\label{wxxmlresourcector} \func{}{wxXmlResource}{\param{const wxString\& }{filemask}, \param{int }{flags = wxXRC\_USE\_LOCALE}} @@ -106,7 +102,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. @@ -142,7 +138,7 @@ The macro {\tt XRCID(name)} is provided for convenience. Initializes handlers for all supported controls/windows. This will make the executable quite big because it forces linking against -most of the wxWindows library. +most of the wxWidgets library. \membersection{wxXmlResource::Load}\label{wxxmlresourceload} @@ -229,6 +225,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}