X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..63dcfc151b7977b7d2cd4095cfdd3421936e0d81:/docs/latex/wx/docmanag.tex diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex index 1cfbfbe0b7..f49e353689 100644 --- a/docs/latex/wx/docmanag.tex +++ b/docs/latex/wx/docmanag.tex @@ -9,10 +9,14 @@ and \helpref{wxDocTemplate}{wxdoctemplate} classes. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxDocManager overview}{wxdocmanageroverview}, \helpref{wxDocument}{wxdocument},\rtfsp -\helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate} +\helpref{wxView}{wxview}, \helpref{wxDocTemplate}{wxdoctemplate}, \helpref{wxFileHistory}{wxfilehistory} \latexignore{\rtfignore{\wxheading{Members}}} @@ -139,28 +143,54 @@ of view is presented to the user. Removes the template from the list of templates. -\membersection{wxDocManager::FileHistoryLoad} +\membersection{wxDocManager::FileHistoryAddFilesToMenu}\label{wxdocmanagerfilehistoryaddfilestomenu} -\func{void}{FileHistoryLoad}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} +\func{void}{FileHistoryAddFilesToMenu}{\void} -Loads the file history from a resource file, using the given section. This must be called -explicitly by the application. +Appends the files in the history list, to all menus managed by the file history object. + +\func{void}{FileHistoryAddFilesToMenu}{\param{wxMenu*}{ menu}} + +Appends the files in the history list, to the given menu only. + +\membersection{wxDocManager::FileHistoryLoad}\label{wxdocmanagerfilehistoryload} + +\func{void}{FileHistoryLoad}{\param{wxConfigBase\& }{config}} + +Loads the file history from a config object. + +\wxheading{See also} + +\helpref{wxConfig}{wxconfigbase} + +\membersection{wxDocManager::FileHistoryRemoveMenu}\label{wxdocmanagerfilehistoryremovemenu} + +\func{void}{FileHistoryRemoveMenu}{\param{wxMenu*}{ menu}} + +Removes the given menu from the list of menus managed by the file history object. -\membersection{wxDocManager::FileHistorySave} +\membersection{wxDocManager::FileHistorySave}\label{wxdocmanagerfilehistorysave} -\func{void}{FileHistorySave}{\param{const wxString\& }{resourceFile}, \param{const wxString\& }{sectionName}} +\func{void}{FileHistorySave}{\param{wxConfigBase\& }{resourceFile}} -Saves the file history into a resource file, using the given section. This must be called +Saves the file history into a config object. This must be called explicitly by the application. -\membersection{wxDocManager::FileHistoryUseMenu} +\wxheading{See also} + +\helpref{wxConfig}{wxconfigbase} -\func{void}{FileHistoryUseMenu}{\param{wxMenu *}{menu}} +\membersection{wxDocManager::FileHistoryUseMenu}\label{wxdocmanagerfilehistoryusemenu} + +\func{void}{FileHistoryUseMenu}{\param{wxMenu*}{ menu}} Use this menu for appending recently-visited document filenames, for convenient access. Calling this function with a valid menu pointer enables the history list functionality. +Note that you can add multiple menus using this function, to be managed by the +file history object. + \membersection{wxDocManager::FindTemplateForPath} \func{wxDocTemplate *}{FindTemplateForPath}{\param{const wxString\& }{path}}