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 wxWidgets, and cooperates with the wxView, wxDocument, wxDocManager and wxDocTemplate classes.
See the example application in samples/docview.
Derived from
wxFrame
wxWindow
wxEvtHandler
wxObject
Include files
<wx/docview.h>
See also
Document/view overview, wxFrame
wxDocument* m_childDocument
The document associated with the frame.
wxView* m_childView
The view associated with the frame.
Constructor.
Destructor.
wxDocument* GetDocument(void) const
Returns the document associated with this frame.
Returns the view associated with this frame.
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.
Closes and deletes the current view and document.
Sets the document for this frame.
Sets the view for this frame.
ymasuda 平成17年11月19日