X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..a2351b3fe410cb1b4ea78276658e22af1c36bfc5:/src/gtk/mdi.cpp diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index c06efa1a51..031eae9e19 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -16,11 +16,11 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/menu.h" + #include "wx/dialog.h" #endif #include "wx/notebook.h" -#include "wx/dialog.h" -#include "wx/menu.h" #include "wx/gtk/private.h" #include @@ -38,8 +38,6 @@ const int wxMENU_HEIGHT = 27; // globals //----------------------------------------------------------------------------- -extern wxList wxPendingDelete; - //----------------------------------------------------------------------------- // "switch_page" //----------------------------------------------------------------------------- @@ -128,9 +126,9 @@ bool wxMDIParentFrame::Create(wxWindow *parent, return true; } -void wxMDIParentFrame::GtkOnSize( int x, int y, int width, int height ) +void wxMDIParentFrame::GtkOnSize() { - wxFrame::GtkOnSize( x, y, width, height ); + wxFrame::GtkOnSize(); wxMDIChildFrame *child_frame = GetActiveChild(); if (!child_frame) return; @@ -243,11 +241,6 @@ void wxMDIParentFrame::OnInternalIdle() } } -void wxMDIParentFrame::DoGetClientSize(int *width, int *height ) const -{ - wxFrame::DoGetClientSize( width, height ); -} - wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const { if (!m_clientWindow) return (wxMDIChildFrame*) NULL;