]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_listc.cpp
Added 'full' param to wxFileName::Mkdir to make all directories in a path,
[wxWidgets.git] / contrib / src / xml / xh_listc.cpp
index 332d9655f4cd38fca35e3e07d0f979da347957b8..095d0c395d448c472af545e4d42af65fee28facd 100644 (file)
@@ -63,5 +63,5 @@ wxObject *wxListCtrlXmlHandler::DoCreateResource()
 
 bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("listctrl");
+    return IsOfClass(node, wxT("wxListCtrl"));
 }