wxObject *wxStaticLineXmlHandler::DoCreateResource()
{
- wxStaticLine *line = new wxStaticLine(m_ParentAsWindow,
+ wxStaticLine *line = new wxStaticLine(m_parentAsWindow,
GetID(),
GetPosition(), GetSize(),
- GetStyle(_T("style"), wxLI_HORIZONTAL),
+ GetStyle(wxT("style"), wxLI_HORIZONTAL),
GetName()
);
SetupWindow(line);
bool wxStaticLineXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("staticline");
+ return IsOfClass(node, wxT("wxStaticLine"));
}
#endif