X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1152bba2806f7a40e09e6b4c6d2ada108bb570cb..030f50ef4af13a1a13f476e22e60616a3d20d75f:/src/common/debugrpt.cpp diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 9e8ed6aff4..0717408f4f 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -34,6 +34,7 @@ #include "wx/debugrpt.h" +#include "wx/ffile.h" #include "wx/filename.h" #include "wx/dir.h" #include "wx/dynlib.h" @@ -102,7 +103,7 @@ TextElement(wxXmlNode *node, const wxChar *name, const wxString& value) { wxXmlNode *nodeChild = new wxXmlNode(wxXML_ELEMENT_NODE, name); node->AddChild(nodeChild); - nodeChild->AddChild(new wxXmlNode(wxXML_TEXT_NODE, _T(""), value)); + nodeChild->AddChild(new wxXmlNode(wxXML_TEXT_NODE, wxEmptyString, value)); } static inline void @@ -689,4 +690,3 @@ bool wxDebugReportUpload::DoProcess() #endif // wxUSE_ZIPSTREAM #endif // wxUSE_DEBUGREPORT -