- 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);
+ // since m_widget is not a GtkWindow, must bypass wxTopLevelWindowGTK
+ wxTopLevelWindowBase::GTKHandleRealized();