X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..8173fefe0a9d61cfe5244a301044aa2269bc1c31:/contrib/src/xml/xh_tree.cpp diff --git a/contrib/src/xml/xh_tree.cpp b/contrib/src/xml/xh_tree.cpp index 941648be98..b1f5d3625a 100644 --- a/contrib/src/xml/xh_tree.cpp +++ b/contrib/src/xml/xh_tree.cpp @@ -35,7 +35,7 @@ wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler() wxObject *wxTreeCtrlXmlHandler::DoCreateResource() { - wxTreeCtrl *tree = new wxTreeCtrl(m_ParentAsWindow, + wxTreeCtrl *tree = new wxTreeCtrl(m_parentAsWindow, GetID(), GetPosition(), GetSize(), GetStyle(), @@ -51,7 +51,7 @@ wxObject *wxTreeCtrlXmlHandler::DoCreateResource() bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxTreeCtrl")); + return IsOfClass(node, wxT("wxTreeCtrl")); }