X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28c0bed36a7063f87dc851e65fa3b0b606224ee1..cd4915e2c915d6c7611b38fa5182e2d84d1ca669:/contrib/src/xml/xh_stlin.cpp diff --git a/contrib/src/xml/xh_stlin.cpp b/contrib/src/xml/xh_stlin.cpp index 0ec560d52c..d65fc08fe6 100644 --- a/contrib/src/xml/xh_stlin.cpp +++ b/contrib/src/xml/xh_stlin.cpp @@ -37,7 +37,7 @@ wxObject *wxStaticLineXmlHandler::DoCreateResource() wxStaticLine *line = new wxStaticLine(m_ParentAsWindow, GetID(), GetPosition(), GetSize(), - GetStyle(_T("style"), wxLI_HORIZONTAL), + GetStyle(wxT("style"), wxLI_HORIZONTAL), GetName() ); SetupWindow(line); @@ -49,7 +49,7 @@ wxObject *wxStaticLineXmlHandler::DoCreateResource() bool wxStaticLineXmlHandler::CanHandle(wxXmlNode *node) { - return node->GetName() == _T("staticline"); + return IsOfClass(node, wxT("wxStaticLine")); } #endif