-\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.
-