X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b008b592cce934305dfa2eaaae0cd824b0d1e1cb..9c21efe30131c78c25763446e0754e2a0b54dc30:/contrib/src/xml/xh_stbox.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_stbox.cpp b/contrib/src/xml/xh_stbox.cpp index 3613fbc671..2572364e3e 100644 --- a/contrib/src/xml/xh_stbox.cpp +++ b/contrib/src/xml/xh_stbox.cpp @@ -32,7 +32,7 @@ wxObject *wxStaticBoxXmlHandler::DoCreateResource() { wxStaticBox *box = new wxStaticBox(m_ParentAsWindow, GetID(), - GetText(_T("label")), + GetText(wxT("label")), GetPosition(), GetSize(), GetStyle(), GetName() @@ -46,7 +46,7 @@ wxObject *wxStaticBoxXmlHandler::DoCreateResource() bool wxStaticBoxXmlHandler::CanHandle(wxXmlNode *node) { - return node->GetName() == _T("staticbox"); + return IsOfClass(node, wxT("wxStaticBox")); }