X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86110e1a1917b01b23f5ac7fc0f4270f6d27a188..43f06cfda107a4a74776b58dca3353a4414ecfb1:/docs/latex/wx/filehist.tex?ds=sidebyside diff --git a/docs/latex/wx/filehist.tex b/docs/latex/wx/filehist.tex index 82886b1de0..6a20ace694 100644 --- a/docs/latex/wx/filehist.tex +++ b/docs/latex/wx/filehist.tex @@ -89,6 +89,13 @@ 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::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 +105,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 +132,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}}