]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_panel.cpp
Added VC++ project files (seems logical)
[wxWidgets.git] / contrib / src / xml / xh_panel.cpp
index cc4cff021a1a74914f6e7b535f731bbc08ba2f72..6240cb96b10a1ec13a7b6a026a4095173db76377 100644 (file)
@@ -59,5 +59,5 @@ wxObject *wxPanelXmlHandler::DoCreateResource()
 
 bool wxPanelXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("panel");
+    return IsOfClass(node, _T("wxPanel"));
 }