X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3980000ca63a479b7b30ca93c07edbf12e4a51b7..78603ad208c39cfd20b9e39fb760851148120407:/docs/latex/wx/docmanag.tex?ds=inline diff --git a/docs/latex/wx/docmanag.tex b/docs/latex/wx/docmanag.tex index 47e7a63bd3..5921f1df82 100644 --- a/docs/latex/wx/docmanag.tex +++ b/docs/latex/wx/docmanag.tex @@ -72,7 +72,7 @@ A list of all document templates. \membersection{wxDocManager::wxDocManager}\label{wxdocmanagerctor} -\func{void}{wxDocManager}{\param{long}{ flags = wxDEFAULT\_DOCMAN\_FLAGS}, \param{bool}{ initialize = true}} +\func{}{wxDocManager}{\param{long}{ flags = wxDEFAULT\_DOCMAN\_FLAGS}, \param{bool}{ initialize = true}} Constructor. Create a document manager instance dynamically near the start of your application before doing any document or view operations. @@ -92,7 +92,7 @@ Destructor. \membersection{wxDocManager::ActivateView}\label{wxdocmanageractivateview} -\func{void}{ActivateView}{\param{wxView* }{doc}, \param{bool}{ activate}, \param{bool}{ deleting}} +\func{void}{ActivateView}{\param{wxView* }{doc}, \param{bool}{ activate = true}} Sets the current view. @@ -329,24 +329,6 @@ Saves the current document by calling wxDocument::Save for the current document. Calls wxDocument::SaveAs for the current document. -\membersection{wxDocManager::OnMenuCommand}\label{wxdocmanageronmenucommand} - -\func{void}{OnMenuCommand}{\param{int}{ cmd}} - -Processes menu commands routed from child or parent frames. This deals -with the following predefined menu item identifiers: - -\begin{itemize}\itemsep=0pt -\item wxID\_OPEN Creates a new document and opens a file into it. -\item wxID\_CLOSE Closes the current document. -\item wxID\_CLOSE\_ALL Closes all documents. -\item wxID\_NEW Creates a new document. -\item wxID\_SAVE Saves the document. -\item wxID\_SAVE\_AS Saves the document into a specified filename. -\end{itemize} - -Unrecognized commands are routed to the currently active wxView's OnMenuCommand. - \membersection{wxDocManager::RemoveDocument}\label{wxdocmanagerremovedocument} \func{void}{RemoveDocument}{\param{wxDocument *}{doc}} @@ -356,7 +338,7 @@ Removes the document from the list of documents. \membersection{wxDocManager::SelectDocumentPath}\label{wxdocmanagerselectdocumentpath} \func{wxDocTemplate *}{SelectDocumentPath}{\param{wxDocTemplate **}{templates}, - \param{int}{ noTemplates}, \param{const wxString\& }{path}, \param{const wxString\& }{bufSize}, + \param{int}{ noTemplates}, \param{wxString\& }{path}, \param{long}{ flags}, \param{bool}{ save}} Under Windows, pops up a file selector with a list of filters corresponding to document templates.