]> 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 0347787f08eaa537de4158bfa6a495c027f933f9..62b971a4e78abd0f3db112f7626908ee36ba2032 100644 (file)
@@ -40,6 +40,8 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
     ADD_STYLE(wxNO_3D);
     ADD_STYLE(wxTAB_TRAVERSAL);
     ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
+    ADD_STYLE(wxCLIP_CHILDREN);
+    AddWindowStyles();
 }
 
 
@@ -72,7 +74,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 
 bool wxDialogXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("dialog");
+    return IsOfClass(node, _T("wxDialog"));
 }