X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..75a0a7b7de0cb3d5645ec014b60431b5fa2c7095:/contrib/utils/wxrcedit/xmlhelpr.h diff --git a/contrib/utils/wxrcedit/xmlhelpr.h b/contrib/utils/wxrcedit/xmlhelpr.h index e2f673543d..67300429c2 100644 --- a/contrib/utils/wxrcedit/xmlhelpr.h +++ b/contrib/utils/wxrcedit/xmlhelpr.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xmlhelpr.h" #endif @@ -18,7 +18,13 @@ void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value); wxString XmlReadValue(wxXmlNode *parent, const wxString& name); + +// Finds a subnode of parent named +// (may be recursive, e.g. "name1/name2" means +// value wxXmlNode *XmlFindNode(wxXmlNode *parent, const wxString& name); +wxXmlNode *XmlFindNodeSimple(wxXmlNode *parent, const wxString& path); + wxString XmlGetClass(wxXmlNode *parent); void XmlSetClass(wxXmlNode *parent, const wxString& classname);