]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_html.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_html.cpp
index e94e0c8f96e9124967dfc4f8d9be0451bb90ea63..23a5cb4c27ea6cc63667d3099e7758ae111bcdce 100644 (file)
@@ -66,7 +66,7 @@ wxObject *wxHtmlWindowXmlHandler::DoCreateResource()
 
 bool wxHtmlWindowXmlHandler::CanHandle(wxXmlNode *node)
 {
 
 bool wxHtmlWindowXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("htmlwindow");
+    return IsOfClass(node, _T("wxHtmlWindow"));
 }
 
 #endif // wxUSE_HTML
 }
 
 #endif // wxUSE_HTML