]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_stlin.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_stlin.cpp
index 0ec560d52ce917c7e844d7c415354f47ddd7299f..546838654ca977c59c6bd3ca49b43be1df0d0f59 100644 (file)
@@ -49,7 +49,7 @@ wxObject *wxStaticLineXmlHandler::DoCreateResource()
 
 bool wxStaticLineXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("staticline");
+    return IsOfClass(node, _T("wxStaticLine"));
 }
 
 #endif