]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/xmlhelpr.h
[ 1176516 ] argv datatype has changed (char in docs but really wxChar)
[wxWidgets.git] / contrib / utils / wxrcedit / xmlhelpr.h
index e2f673543d3600abe502ecf004564cb95820a520..26d19f76350627f526abcd659cf4af430e53e8e9 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "xmlhelpr.h"
 #endif
 
 
 void XmlWriteValue(wxXmlNode *parent, const wxString& name, const wxString& value);
 wxString XmlReadValue(wxXmlNode *parent, const wxString& name);
+
+// Finds a subnode of parent named <name>
+// (may be recursive, e.g. "name1/name2" means
+// <parent><name1><name2>value</name2></name1></parent>
 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