X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8245a81600461b60e644bc8ae09211f87d5d59b..d86c187031547bd2f0604adddef273deedea7907:/docs/latex/wx/docmanag.tex?ds=sidebyside diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex index b815c5b06a..534c611c22 100644 --- a/docs/latex/wx/docmanag.tex +++ b/docs/latex/wx/docmanag.tex @@ -24,6 +24,10 @@ and \helpref{wxDocTemplate}{wxdoctemplate} classes. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxDocManager overview}{wxdocmanageroverview}, \helpref{wxDocument}{wxdocument},\rtfsp @@ -85,7 +89,7 @@ The directory last selected by the user when opening a file. \membersection{wxDocManager::m\_templates}\label{wxdocmanagermtemplates} -\member{wxList}{mnTemplates} +\member{wxList}{m\_templates} A list of all document templates. @@ -320,16 +324,14 @@ The bottom line: if you're not deriving from Initialize, forget it and construct wxDocManager with no arguments. -\membersection{wxDocManager::MakeDefaultName}\label{wxdocmanagermakedefaultname} - -\func{bool}{MakeDefaultName}{\param{const wxString\& }{buf}} +\membersection{wxDocManager::MakeNewDocumentName}\label{wxdocmanagermakenewdocumentname} -Copies a suitable default name into {\it buf}. This is implemented by -appending an integer counter to the string {\bf unnamed} and incrementing -the counter. +\func{wxString}{MakeNewDocumentName}{\void} -\perlnote{In wxPerl this function must return the modified name rather -than just modifying the argument.} +Return a string containing a suitable default name for a new document. By +default this is implemented by appending an integer counter to the string +{\bf unnamed} but can be overridden in the derived classes to do something more +appropriate. \membersection{wxDocManager::OnCreateFileHistory}\label{wxdocmanageroncreatefilehistory}