wxObject *wxStaticBoxXmlHandler::DoCreateResource()
{
- wxStaticBox *box = new wxStaticBox(m_ParentAsWindow,
+ wxStaticBox *box = new wxStaticBox(m_parentAsWindow,
GetID(),
- GetText(_T("label")),
+ GetText(wxT("label")),
GetPosition(), GetSize(),
GetStyle(),
GetName()
bool wxStaticBoxXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("staticbox");
+ return IsOfClass(node, wxT("wxStaticBox"));
}