X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7bd26981f1c8d46d3909e3de90df081de4df33b..db23ced86782a4323272cea8bd499d2e4aeabfce:/docs/latex/wx/docmdich.tex diff --git a/docs/latex/wx/docmdich.tex b/docs/latex/wx/docmdich.tex index b9b16ac740..58a3c69e5d 100644 --- a/docs/latex/wx/docmdich.tex +++ b/docs/latex/wx/docmdich.tex @@ -3,7 +3,7 @@ The wxDocMDIChildFrame class provides a default frame for displaying documents on separate windows. This class can only be used for MDI child frames. -The class is part of the document/view framework supported by wxWindows, +The class is part of the document/view framework supported by wxWidgets, and cooperates with the \helpref{wxView}{wxview}, \helpref{wxDocument}{wxdocument}, \rtfsp\helpref{wxDocManager}{wxdocmanager} and \helpref{wxDocTemplate}{wxdoctemplate} classes. @@ -17,23 +17,27 @@ See the example application in {\tt samples/docview}. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIChildFrame}{wxmdichildframe} -\membersection{wxDocMDIChildFrame::m\_childDocument} +\membersection{wxDocMDIChildFrame::m\_childDocument}\label{wxdocmdichildframemchilddocument} \member{wxDocument*}{m\_childDocument} The document associated with the frame. -\membersection{wxDocMDIChildFrame::m\_childView} +\membersection{wxDocMDIChildFrame::m\_childView}\label{wxdocmdichildframemchildview} \member{wxView*}{m\_childView} The view associated with the frame. -\membersection{wxDocMDIChildFrame::wxDocMDIChildFrame} +\membersection{wxDocMDIChildFrame::wxDocMDIChildFrame}\label{wxdocmdichildframector} \func{}{wxDocMDIChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent}, \param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition}, @@ -42,45 +46,45 @@ The view associated with the frame. Constructor. -\membersection{wxDocMDIChildFrame::\destruct{wxDocMDIChildFrame}} +\membersection{wxDocMDIChildFrame::\destruct{wxDocMDIChildFrame}}\label{wxdocmdichildframedtor} \func{}{\destruct{wxDocMDIChildFrame}}{\void} Destructor. -\membersection{wxDocMDIChildFrame::GetDocument} +\membersection{wxDocMDIChildFrame::GetDocument}\label{wxdocmdichildframegetdocument} \constfunc{wxDocument*}{GetDocument}{\void} Returns the document associated with this frame. -\membersection{wxDocMDIChildFrame::GetView} +\membersection{wxDocMDIChildFrame::GetView}\label{wxdocmdichildframegetview} \constfunc{wxView*}{GetView}{\void} Returns the view associated with this frame. -\membersection{wxDocMDIChildFrame::OnActivate} +\membersection{wxDocMDIChildFrame::OnActivate}\label{wxdocmdichildframeonactivate} -\func{void}{OnActivate}{\param{bool}{ active}} +\func{void}{OnActivate}{\param{wxActivateEvent}{ event}} Sets the currently active view to be the frame's view. You may need to override (but still call) this function in order to set the keyboard focus for your subwindow. -\membersection{wxDocMDIChildFrame::OnClose} +\membersection{wxDocMDIChildFrame::OnCloseWindow}\label{wxdocmdichildframeonclosewindow} -\func{virtual bool}{OnClose}{\void} +\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}} Closes and deletes the current view and document. -\membersection{wxDocMDIChildFrame::SetDocument} +\membersection{wxDocMDIChildFrame::SetDocument}\label{wxdocmdichildframesetdocument} \func{void}{SetDocument}{\param{wxDocument *}{doc}} Sets the document for this frame. -\membersection{wxDocMDIChildFrame::SetView} +\membersection{wxDocMDIChildFrame::SetView}\label{wxdocmdichildframesetview} \func{void}{SetView}{\param{wxView *}{view}}