]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_listc.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_listc.cpp
index 332d9655f4cd38fca35e3e07d0f979da347957b8..df2c2328c0b675dea4c784acff0b08bbc383defe 100644 (file)
@@ -63,5 +63,5 @@ wxObject *wxListCtrlXmlHandler::DoCreateResource()
 
 bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("listctrl");
+    return IsOfClass(node, _T("wxListCtrl"));
 }