]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_sttxt.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_sttxt.cpp
index d4e4ff24f641ebc03dc06beb0d46f2173fabbbca..4627292fcb8979a170d9de288ee21b30b465a333 100644 (file)
@@ -47,7 +47,7 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource()
 
 bool wxStaticTextXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("statictext");
+    return IsOfClass(node, _T("wxStaticText"));
 }