GetText(_T("value")),
GetPosition(), GetSize(),
GetStyle(),
- wxDefaultValidator,
- GetText(_T("name"))
+ wxDefaultValidator,
+ GetName()
);
SetupWindow(text);
bool wxTextCtrlXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("textctrl");
+ return IsOfClass(node, _T("wxTextCtrl"));
}