X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..dcfd4ac4125092a50a81d1b8059ed7dcd09ca56e:/src/gtk/frame.cpp?ds=sidebyside diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 6706922aae..19cacb5d83 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -22,18 +22,13 @@ #ifndef WX_PRECOMP #include "wx/app.h" -#endif // WX_PRECOMP - -#include "wx/dialog.h" -#include "wx/control.h" -#include "wx/menu.h" -#if wxUSE_TOOLBAR + #include "wx/dcclient.h" + #include "wx/menu.h" + #include "wx/dialog.h" + #include "wx/control.h" #include "wx/toolbar.h" -#endif -#if wxUSE_STATUSBAR #include "wx/statusbr.h" -#endif -#include "wx/dcclient.h" +#endif // WX_PRECOMP #include #include "wx/gtk/private.h" @@ -195,9 +190,6 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child ) child->m_width, child->m_height ); } - - // Resize on OnInternalIdle - parent->GtkUpdateSize(); } // ----------------------------------------------------------------------------