-bool wxMDIChildFrame::Create( wxMDIParentFrame *parent,
- wxWindowID id, const wxString& title,
- const wxPoint& WXUNUSED(pos), const wxSize& size,
- long style, const wxString& name )
-{
- m_title = title;
-
- return wxWindow::Create( parent->GetClientWindow(), id, wxDefaultPosition, size, style, name );
-}
-
-bool wxMDIChildFrame::Destroy()
-{
- // delayed destruction: the frame will be deleted during
- // the next idle loop iteration.
- // I'm not sure if delayed destruction really makes so
- // much sense for MDI child frames, actually, but hiding
- // it doesn't make any sense.
- if ( !wxPendingDelete.Member(this) )
- wxPendingDelete.Append(this);
-
- return true;
-}
-
-void wxMDIChildFrame::DoSetSize( int x, int y, int width, int height, int sizeFlags )
-{
- wxWindow::DoSetSize( x, y, width, height, sizeFlags );
-}
-
-void wxMDIChildFrame::AddChild( wxWindowBase *child )
-{
- wxWindow::AddChild(child);
-}
-