]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_dlg.cpp
added timestamping to wxLogStream
[wxWidgets.git] / contrib / src / xml / xh_dlg.cpp
index f95d9f41f83b791383f4bac37615f4f23aefba51..62b971a4e78abd0f3db112f7626908ee36ba2032 100644 (file)
@@ -74,7 +74,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 
 bool wxDialogXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("dialog");
+    return IsOfClass(node, _T("wxDialog"));
 }