Version: 2.9.4
Public Member Functions
wxDocMDIChildFrame Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/docmdi.h>

Inheritance diagram for wxDocMDIChildFrame:

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

Library:  wxCore
Category:  Document/View Framework
参照:
Document/View Framework, Document/View Sample, wxMDIChildFrame

Public Member Functions

 wxDocMDIChildFrame (wxDocument *doc, wxView *view, wxMDIParentFrame *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 Constructor.
virtual ~wxDocMDIChildFrame ()
 Destructor.
wxDocumentGetDocument () const
 Returns the document associated with this frame.
wxViewGetView () const
 Returns the view associated with this frame.
void SetDocument (wxDocument *doc)
 Sets the document for this frame.
void SetView (wxView *view)
 Sets the view for this frame.

List of all members.


Constructor & Destructor Documentation

wxDocMDIChildFrame::wxDocMDIChildFrame ( wxDocument doc,
wxView view,
wxMDIParentFrame parent,
wxWindowID  id,
const wxString title,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = wxDEFAULT_FRAME_STYLE,
const wxString name = wxFrameNameStr 
)

Constructor.

virtual wxDocMDIChildFrame::~wxDocMDIChildFrame ( ) [virtual]

Destructor.


Member Function Documentation

wxDocument* wxDocMDIChildFrame::GetDocument ( ) const

Returns the document associated with this frame.

wxView* wxDocMDIChildFrame::GetView ( ) const

Returns the view associated with this frame.

void wxDocMDIChildFrame::SetDocument ( wxDocument doc)

Sets the document for this frame.

void wxDocMDIChildFrame::SetView ( wxView view)

Sets the view for this frame.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines