]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_bttn.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_bttn.cpp
index 4fc936f4abf712f2b718ee7d5af9bddc6ff2ed47..c73b849310f4f38c3a9d565b7956eb028e1a0232 100644 (file)
@@ -49,7 +49,7 @@ wxObject *wxButtonXmlHandler::DoCreateResource()
 
 bool wxButtonXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("button");
+    return IsOfClass(node, _T("wxButton"));
 }