.\" This is a wxWidgets manpage page generated from the XML docs .TH wxDocMDIChildFrame 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxDocMDIChildFrame \- .SH DESCRIPTION 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 wxWidgets, and cooperates with the wxView , wxDocument , wxDocManager and wxDocTemplate classes. See the example application in samples/docview . .SH "PARENTS" wxMDIChildFrame wxFrame wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/docmdi.h .SH MEMBERS .SS wxDocMDIChildFrame (wxDocument* docwxView* viewwxFrame* parentwxWindowID idconst wxString& titleconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = wxDEFAULT_FRAME_STYLEconst wxString& name = ``frame") Constructor. .SS ~wxDocMDIChildFrame () Destructor. .SS wxDocument* GetDocument () Returns the document associated with this frame. .SS wxView* GetView () Returns the view associated with this frame. .SS void OnActivate (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. .SS void OnCloseWindow (wxCloseEvent& event) Closes and deletes the current view and document. .SS void SetDocument (wxDocument *doc) Sets the document for this frame. .SS void SetView (wxView *view) Sets the view for this frame. .SH "SEE ALSO" wxMDIChildFrame wxFrame wxWindow wxEvtHandler wxObject .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.