<wx/xrc/xmlres.h>
+\wxheading{Library}
+
+\helpref{wxXrc}{librarieslist}
+
\wxheading{Constants}
\begin{verbatim}
\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
\begin{verbatim}
MyDialog dlg;
wxTheXmlResource->LoadDialog(&dlg, mainFrame, "my_dialog");
- dlg->ShowModal();
+ dlg.ShowModal();
\end{verbatim}
Sets the domain (message catalog) that will be used to load
translatable strings in the XRC.
+