+\wxheading{See also }
+
+\helpref{GetDirectory()}{wxdebugreportgetdirectory},\\
+\helpref{AddText()}{wxdebugreportaddtext}
+
+
+\membersection{wxDebugReport::AddText}\label{wxdebugreportaddtext}
+
+\func{bool}{AddText}{\param{const wxString\& }{filename}, \param{const wxString\& }{text}, \param{const wxString\& }{description}}
+
+This is a convenient wrapper around \helpref{AddFile}{wxdebugreportaddfile}. It
+creates the file with the given \arg{name} and writes \arg{text} to it, then
+adds the file to the report. The \arg{filename} shouldn't contain the path.
+
+Returns \true if file could be added successfully, \false if an IO error
+occurred.
+