]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_tree.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_tree.cpp
index b10dc6ce94e88354ef0244ec9f02af4ee6f06646..941648be98978d096236eb1ac6c6dbde5325fd38 100644 (file)
@@ -51,7 +51,7 @@ wxObject *wxTreeCtrlXmlHandler::DoCreateResource()
 
 bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("treectrl");
+    return IsOfClass(node, _T("wxTreeCtrl"));
 }