X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43e8916ff3fd271e55c9daa6660cb8ea5ff7efe6..a236aa2058ccf3d36e9cafc20fa7375080c4be50:/docs/latex/wx/docmanag.tex diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex index d8516852f0..4437a11078 100644 --- a/docs/latex/wx/docmanag.tex +++ b/docs/latex/wx/docmanag.tex @@ -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}