]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xmlres.h
use <value> instead of <default-*> for initial value of picker controls in XRC, for...
[wxWidgets.git] / include / wx / xrc / xmlres.h
index fe475b80b322bf86556ee17db59d5b52b16cccac..a7ac1bdcd8cf61aaefc6880e8a751e20b76932d2 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xmlres.h
+// Name:        wx/xrc/xmlres.h
 // Purpose:     XML resources
 // Author:      Vaclav Slavik
 // Created:     2000/03/05
@@ -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