]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xmlres.h
Added SWIG patches to allow compiling the generated code with
[wxWidgets.git] / include / wx / xrc / xmlres.h
index fe475b80b322bf86556ee17db59d5b52b16cccac..8699dd5d336e9abf2a317041ee154b942c41049e 100644 (file)
@@ -364,8 +364,7 @@ protected:
 
     // Returns true if the node has a property class equal to classname,
     // e.g. <object class="wxDialog">.
-    bool IsOfClass(wxXmlNode *node, const wxString& classname)
-        { return node->GetPropVal(wxT("class"), wxEmptyString) == classname; }
+    bool IsOfClass(wxXmlNode *node, const wxString& classname);
 
     // Gets node content from wxXML_ENTITY_NODE
     // The problem is, <tag>content<tag> is represented as