X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86110e1a1917b01b23f5ac7fc0f4270f6d27a188..6bb29886cbf4057a9a50073eb948bc9aec904756:/docs/latex/wx/filehist.tex diff --git a/docs/latex/wx/filehist.tex b/docs/latex/wx/filehist.tex index 82886b1de0..af48e1b4e7 100644 --- a/docs/latex/wx/filehist.tex +++ b/docs/latex/wx/filehist.tex @@ -15,6 +15,10 @@ as well as the MDI parent frame. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxFileHistory overview}{wxfilehistoryoverview}, \helpref{wxDocManager}{wxdocmanager} @@ -89,6 +93,20 @@ Appends the files in the history list, to all menus managed by the file history Appends the files in the history list, to the given menu only. +\membersection{wxFileHistory::GetBaseId}\label{wxfilehistorygetbaseid} + +\constfunc{wxWindowID}{GetBaseId}{\void} + +Returns the base identifier for the range used for appending items. + + +\membersection{wxFileHistory::GetCount}\label{wxfilehistorygetcount} + +\constfunc{size\_t}{GetCount}{\void} + +Returns the number of files currently stored in the file history. + + \membersection{wxFileHistory::GetHistoryFile}\label{wxfilehistorygethistoryfile} \constfunc{wxString}{GetHistoryFile}{\param{size\_t}{ index}} @@ -98,16 +116,20 @@ Returns the file at this index (zero-based). \membersection{wxFileHistory::GetMaxFiles}\label{wxfilehistorygetmaxfiles} -\constfunc{size\_t}{GetMaxFiles}{\void} +\constfunc{int}{GetMaxFiles}{\void} Returns the maximum number of files that can be stored. -\membersection{wxFileHistory::GetCount}\label{wxfilehistorygetcount} +\membersection{wxFileHistory::GetMenus}\label{wxfilehistorygetmenus} -\constfunc{size\_t}{GetCount}{\void} +\constfunc{const wxList\&}{GetMenus}{\void} -Returns the number of files currently stored in the file history. +Returns the list of menus that are managed by this file history object. + +\wxheading{See also} + +\helpref{wxFileHistory::UseMenu}{wxfilehistoryusemenu} \membersection{wxFileHistory::Load}\label{wxfilehistoryload} @@ -121,6 +143,12 @@ Loads the file history from the given config object. This function should be cal \helpref{wxConfig}{wxconfigbase} +\membersection{wxFileHistory::RemoveFileFromHistory}\label{wxfilehistoryfromfilefromhistory} + +\func{void}{RemoveFileFromHistory}{\param{size\_t }{i}} + +Removes the specified file from the history. + \membersection{wxFileHistory::RemoveMenu}\label{wxfilehistoryremovemenu} \func{void}{RemoveMenu}{\param{wxMenu* }{menu}} @@ -140,6 +168,13 @@ explicitly by the application. \helpref{wxConfig}{wxconfigbase} +\membersection{wxFileHistory::SetBaseId}\label{wxfilehistorysetbaseid} + +\func{void}{SetBaseId}{\param{wxWindowID}{ baseId}} + +Sets the base identifier for the range used for appending items. + + \membersection{wxFileHistory::UseMenu}\label{wxfilehistoryusemenu} \func{void}{UseMenu}{\param{wxMenu* }{menu}}