X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86110e1a1917b01b23f5ac7fc0f4270f6d27a188..81c882b613b5d99ddb1e5ab69fcd7ebccc287025:/docs/latex/wx/filehist.tex diff --git a/docs/latex/wx/filehist.tex b/docs/latex/wx/filehist.tex index 82886b1de0..35c407a17e 100644 --- a/docs/latex/wx/filehist.tex +++ b/docs/latex/wx/filehist.tex @@ -89,6 +89,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 +112,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 +139,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 +164,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}}