X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..00b2a5df9502adfd9a14ce01ab603f7906984995:/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")); }