X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_text.cpp diff --git a/contrib/src/xml/xh_text.cpp b/contrib/src/xml/xh_text.cpp index 59d9ba87b1..bdba8d57cc 100644 --- a/contrib/src/xml/xh_text.cpp +++ b/contrib/src/xml/xh_text.cpp @@ -35,9 +35,9 @@ wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() wxObject *wxTextCtrlXmlHandler::DoCreateResource() { - wxTextCtrl *text = new wxTextCtrl(m_ParentAsWindow, + wxTextCtrl *text = new wxTextCtrl(m_parentAsWindow, GetID(), - GetText(_T("value")), + GetText(wxT("value")), GetPosition(), GetSize(), GetStyle(), wxDefaultValidator, @@ -52,7 +52,7 @@ wxObject *wxTextCtrlXmlHandler::DoCreateResource() bool wxTextCtrlXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxTextCtrl")); + return IsOfClass(node, wxT("wxTextCtrl")); }