]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/docchfrm.tex
Added font setting and ability to determine AUI notebook height for a given page...
[wxWidgets.git] / docs / latex / wx / docchfrm.tex
index f979bc070fff82efcefe07ebdaad592acd84a2ed..920095632de6d97255d37711b22e2a1d76dd61e3 100644 (file)
@@ -3,7 +3,7 @@
 The wxDocChildFrame class provides a default frame for displaying documents
 on separate windows. This class can only be used for SDI (not 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.
 
@@ -16,70 +16,74 @@ See the example application in {\tt samples/docview}.
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/docview.h>
+
 \wxheading{See also}
 
 \helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe}
 
-\membersection{wxDocChildFrame::m\_childDocument}
+\membersection{wxDocChildFrame::m\_childDocument}\label{wxdocchildframemchilddocument}
 
 \member{wxDocument*}{m\_childDocument}
 
 The document associated with the frame.
 
-\membersection{wxDocChildFrame::m\_childView}
+\membersection{wxDocChildFrame::m\_childView}\label{wxdocchildframemchildview}
 
 \member{wxView*}{m\_childView}
 
 The view associated with the frame.
 
-\membersection{wxDocChildFrame::wxDocChildFrame}
+\membersection{wxDocChildFrame::wxDocChildFrame}\label{wxdocchildframector}
 
 \func{}{wxDocChildFrame}{\param{wxDocument* }{doc}, \param{wxView* }{view}, \param{wxFrame* }{parent},
- \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
+ \param{wxWindowID}{ id}, \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
  \param{const wxSize\&}{ size = wxDefaultSize},
  \param{long}{ style = wxDEFAULT\_FRAME\_STYLE}, \param{const wxString\& }{name = ``frame"}}
 
 Constructor.
 
-\membersection{wxDocChildFrame::\destruct{wxDocChildFrame}}
+\membersection{wxDocChildFrame::\destruct{wxDocChildFrame}}\label{wxdocchildframedtor}
 
 \func{}{\destruct{wxDocChildFrame}}{\void}
 
 Destructor.
 
-\membersection{wxDocChildFrame::GetDocument}
+\membersection{wxDocChildFrame::GetDocument}\label{wxdocchildframegetdocument}
 
 \constfunc{wxDocument*}{GetDocument}{\void}
 
 Returns the document associated with this frame.
 
-\membersection{wxDocChildFrame::GetView}
+\membersection{wxDocChildFrame::GetView}\label{wxdocchildframegetview}
 
 \constfunc{wxView*}{GetView}{\void}
 
 Returns the view associated with this frame.
 
-\membersection{wxDocChildFrame::OnActivate}
+\membersection{wxDocChildFrame::OnActivate}\label{wxdocchildframeonactivate}
 
-\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{wxDocChildFrame::OnClose}
+\membersection{wxDocChildFrame::OnCloseWindow}\label{wxdocchildframeonclosewindow}
 
-\func{virtual bool}{OnClose}{\void}
+\func{void}{OnCloseWindow}{\param{wxCloseEvent\&}{ event}}
 
 Closes and deletes the current view and document.
 
-\membersection{wxDocChildFrame::SetDocument}
+\membersection{wxDocChildFrame::SetDocument}\label{wxdocchildframesetdocument}
 
 \func{void}{SetDocument}{\param{wxDocument *}{doc}}
 
 Sets the document for this frame.
 
-\membersection{wxDocChildFrame::SetView}
+\membersection{wxDocChildFrame::SetView}\label{wxdocchildframesetview}
 
 \func{void}{SetView}{\param{wxView *}{view}}