X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8245a81600461b60e644bc8ae09211f87d5d59b..db23ced86782a4323272cea8bd499d2e4aeabfce:/docs/latex/wx/docmanag.tex diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex index b815c5b06a..4437a11078 100644 --- a/docs/latex/wx/docmanag.tex +++ b/docs/latex/wx/docmanag.tex @@ -85,7 +85,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 +320,14 @@ The bottom line: if you're not deriving from Initialize, forget it and construct wxDocManager with no arguments. -\membersection{wxDocManager::MakeDefaultName}\label{wxdocmanagermakedefaultname} +\membersection{wxDocManager::MakeNewDocumentName}\label{wxdocmanagermakenewdocumentname} -\func{bool}{MakeDefaultName}{\param{const wxString\& }{buf}} +\func{wxString}{MakeNewDocumentName}{\void} -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. - -\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}