]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/filehist.tex
sorting support for generic version (patch 1765087 from Bo)
[wxWidgets.git] / docs / latex / wx / filehist.tex
index 82886b1de01142c5d3d3af45a2d26c940b3c2303..af48e1b4e71949b32d185322c7ecae8fa4c8a575 100644 (file)
@@ -15,6 +15,10 @@ as well as the MDI parent frame.
 
 <wx/docview.h>
 
+\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}}