]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/debugrpt.cpp
warning about standard controls
[wxWidgets.git] / src / common / debugrpt.cpp
index 6dd37c874c124a88c33abecb862ef8c70d4e4825..0717408f4fc52d045a70a1777350039a0fca8c46 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/log.h"
-    #include "wx/ffile.h"
     #include "wx/intl.h"
     #include "wx/utils.h"
 #endif // WX_PRECOMP
@@ -35,6 +34,7 @@
 
 #include "wx/debugrpt.h"
 
+#include "wx/ffile.h"
 #include "wx/filename.h"
 #include "wx/dir.h"
 #include "wx/dynlib.h"
@@ -103,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
@@ -690,4 +690,3 @@ bool wxDebugReportUpload::DoProcess()
 #endif // wxUSE_ZIPSTREAM
 
 #endif // wxUSE_DEBUGREPORT
-