X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_unkwn.cpp diff --git a/contrib/src/xml/xh_unkwn.cpp b/contrib/src/xml/xh_unkwn.cpp index 7c3f083417..161b700fd2 100644 --- a/contrib/src/xml/xh_unkwn.cpp +++ b/contrib/src/xml/xh_unkwn.cpp @@ -32,22 +32,22 @@ wxUnknownWidgetXmlHandler::wxUnknownWidgetXmlHandler() wxObject *wxUnknownWidgetXmlHandler::DoCreateResource() { - long id = GetLong(_T("id"), -1); - wxString name = GetParamValue(_T("name")); + long id = GetLong(wxT("id"), -1); + wxString name = GetParamValue(wxT("name")); wxWindow *wnd = NULL; if (id != -1) - wnd = m_ParentAsWindow->FindWindow(id); + wnd = m_parentAsWindow->FindWindow(id); if (wnd == NULL && !name.IsEmpty()) - wnd = m_ParentAsWindow->FindWindow(name); + wnd = m_parentAsWindow->FindWindow(name); if (wnd == NULL) - wxLogError(_T("Cannot find specified window for class 'unknown' (id=%li, name='%s')."), id, name.mb_str()); + wxLogError(wxT("Cannot find specified window for class 'unknown' (id=%li, name='%s')."), id, name.mb_str()); else { - if (wnd->GetParent() != m_ParentAsWindow) - wnd->Reparent(m_ParentAsWindow); + if (wnd->GetParent() != m_parentAsWindow) + wnd->Reparent(m_parentAsWindow); SetupWindow(wnd); } @@ -56,6 +56,6 @@ wxObject *wxUnknownWidgetXmlHandler::DoCreateResource() bool wxUnknownWidgetXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("unknown")); + return IsOfClass(node, wxT("unknown")); }