]> git.saurik.com Git - wxWidgets.git/commitdiff
documented AddText
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 22:11:28 +0000 (22:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 22:11:28 +0000 (22:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/debugrpt.tex

index ef3ef801cb42f1819ff089351cc20784bee056ad..b5d394b7c21eff012dfc84aebb78bdee12653583 100644 (file)
@@ -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}}