: wxXmlResourceHandler()
{
ADD_STYLE( wxST_NO_AUTORESIZE );
+ AddWindowStyles();
}
wxObject *wxStaticTextXmlHandler::DoCreateResource()
bool wxStaticTextXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("statictext");
+ return IsOfClass(node, _T("wxStaticText"));
}