ADD_STYLE(wxNO_3D);
ADD_STYLE(wxTAB_TRAVERSAL);
ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
+ ADD_STYLE(wxCLIP_CHILDREN);
+ AddWindowStyles();
}
bool wxDialogXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("dialog");
+ return IsOfClass(node, _T("wxDialog"));
}