From 3fb3e5e595f07ec9f3de893395fb37fc56b2e8b7 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sun, 10 Apr 2005 22:11:28 +0000
Subject: [PATCH] documented AddText

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/debugrpt.tex | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/latex/wx/debugrpt.tex b/docs/latex/wx/debugrpt.tex
index ef3ef801cb..b5d394b7c2 100644
--- a/docs/latex/wx/debugrpt.tex
+++ b/docs/latex/wx/debugrpt.tex
@@ -151,6 +151,18 @@ is relative to \helpref{GetDirectory()}{wxdebugreportgetdirectory}.
 shown by \helpref{wxDebugReportPreview}{wxdebugreportpreview}.
 
 
+\membersection{wxDebugReport::AddText}\label{wxdebugreportaddtext}
+
+\func{bool}{AddText}{\param{const wxString\& }{name}, \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.
+
+Returns \true if file could be added successfully, \false if an IO error
+occured.
+
+
 \membersection{wxDebugReport::DoAddCustomContext}\label{wxdebugreportdoaddcustomcontext}
 
 \func{void}{DoAddCustomContext}{\param{wxXmlNode * }{nodeRoot}}
-- 
2.50.0

