+bool
+wxDebugReport::AddText(const wxString& name,
+ const wxString& text,
+ const wxString& description)
+{
+ wxFileName fn(GetDirectory(), name);
+ wxFFile file(fn.GetFullPath(), _T("w"));
+ if ( !file.IsOpened() || !file.Write(text) )
+ return false;
+
+ AddFile(name, description);
+
+ return true;
+}
+