X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b236c10f77e9ed0bc3c16d1cceb4a62f7048b4f9..c699b4583b6047191ac326728654c6fe8920aa7b:/docs/latex/wx/document.tex diff --git a/docs/latex/wx/document.tex b/docs/latex/wx/document.tex index 413dc2e7e5..7d019d8fb9 100644 --- a/docs/latex/wx/document.tex +++ b/docs/latex/wx/document.tex @@ -14,6 +14,10 @@ and \helpref{wxDocManager}{wxdocmanager} classes. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxDocument overview}{wxdocumentoverview}, \helpref{wxView}{wxview},\rtfsp @@ -153,16 +157,13 @@ in many cases a document will only have a single view. See also: \helpref{GetViews}{wxdocumentgetviews} -\membersection{wxDocument::GetPrintableName}\label{wxdocumentgetprintablename} - -\constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}} +\membersection{wxDocument::GetUserReadableName}\label{wxdocumentgetuserreadablentablename} -Copies a suitable document name into the supplied {\it name} buffer. The default -function uses the title, or if there is no title, uses the filename; or if no -filename, the string {\bf unnamed}. +\constfunc{virtual wxString}{GetUserReadableName}{\void} -\perlnote{In wxPerl this function must return the modified name rather -than just modifying the argument.} +Return the document name suitable to be shown to the user. The default +implementation uses the document title, if any, of the name part of the +document filename if it was set or, otherwise, the string {\bf unnamed}. \membersection{wxDocument::GetTitle}\label{wxdocumentgettitle}