diff --git a/docs/latex/wx/document.tex b/docs/latex/wx/document.tex index 4affd5ade7..dd7eada350 100644 --- a/docs/latex/wx/document.tex +++ b/docs/latex/wx/document.tex @@ -144,13 +144,15 @@ dialog boxes. By default, uses the frame associated with the first view. Gets the filename associated with this document, or "" if none is associated. -\membersection{wxDocument::GetFirstView} +\membersection{wxDocument::GetFirstView}{wxdocumentgetfirstview} -\constfunc{wxView*}{GetFirstView}{\void} +\constfunc{wxView *}{GetFirstView}{\void} A convenience function to get the first view for a document, because in many cases a document will only have a single view. +See also: \helpref{GetViews}{wxdocumentgetviews} + \membersection{wxDocument::GetPrintableName} \constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}} @@ -167,6 +169,15 @@ Gets the title for this document. The document title is used for an associated frame (if any), and is usually constructed by the framework from the filename. +\membersection{wxDocument::GetViews}{wxdocumentgetviews} + +\constfunc{wxList \&}{GetViews}{\void} + +Returns the list whose elements are the views on the document. + +See also: \helpref{GetFirstView}{wxdocumentgetfirstview} + + \membersection{wxDocument::IsModified}\label{wxdocumentismodified} \constfunc{virtual bool}{IsModified}{\void}