]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/filehist.tex
cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()
[wxWidgets.git] / docs / latex / wx / filehist.tex
index 82886b1de01142c5d3d3af45a2d26c940b3c2303..6a20ace6942db1ffc41492a0b08ed0a5788b7d77 100644 (file)
@@ -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}}