]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_tree.cpp
Don't keep entries for XRC resources that failed to load in wxXmlResource.
[wxWidgets.git] / src / xrc / xh_tree.cpp
index ef66aa4334e195d05f92598238cb483fe8ba8107..dc7e178161af6638c0239091284a03bc0f1e8ec8 100644 (file)
@@ -51,7 +51,7 @@ wxObject *wxTreeCtrlXmlHandler::DoCreateResource()
     tree->Create(m_parentAsWindow,
                 GetID(),
                 GetPosition(), GetSize(),
-                GetStyle(_T("style"), wxTR_DEFAULT_STYLE),
+                GetStyle(wxT("style"), wxTR_DEFAULT_STYLE),
                 wxDefaultValidator,
                 GetName());