X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4a724d4075418ccaea166925c33242a338249c7..c34b5c57d33688126dd5747a1283d599c75f6a06:/docs/latex/wx/xmlres.tex?ds=sidebyside diff --git a/docs/latex/wx/xmlres.tex b/docs/latex/wx/xmlres.tex index c4f6b75730..352864ade0 100644 --- a/docs/latex/wx/xmlres.tex +++ b/docs/latex/wx/xmlres.tex @@ -19,6 +19,10 @@ See \helpref{XML-based resource system overview}{xrcoverview} for details. +\wxheading{Library} + +\helpref{wxXrc}{librarieslist} + \wxheading{Constants} \begin{verbatim} @@ -137,7 +141,7 @@ Returns version information (a.b.c.d = d+ 256*c + 256\textasciicircum2*b + 256\t \membersection{wxXmlResource::GetXRCID}\label{wxxmlresourcegetxmlid} -\func{int}{GetXRCID}{\param{const wxChar* }{str\_id}, \param{int }{value\_if\_not\_found = -2}} +\func{int}{GetXRCID}{\param{const wxString\& }{str\_id}, \param{int }{value\_if\_not\_found = -2}} Returns a numeric ID that is equivalent to the string ID used in an XML resource. If an unknown \arg{str\_id} is requested (i.e. other than wxID\_XXX @@ -188,7 +192,7 @@ Example: \begin{verbatim} MyDialog dlg; wxTheXmlResource->LoadDialog(&dlg, mainFrame, "my_dialog"); - dlg->ShowModal(); + dlg.ShowModal(); \end{verbatim} @@ -283,3 +287,4 @@ translatable strings in the XRC. Sets the domain (message catalog) that will be used to load translatable strings in the XRC. +