X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..749a05ee85ea5453f155454e4640ebf795233ad3:/contrib/utils/wxrcedit/xmlhelpr.h diff --git a/contrib/utils/wxrcedit/xmlhelpr.h b/contrib/utils/wxrcedit/xmlhelpr.h index e2f673543d..26d19f7635 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,8 +18,14 @@ 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); -#endif +#endif