X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdf565feca722eddb84168a95dbef329ba23d719..dcfd4ac4125092a50a81d1b8059ed7dcd09ca56e:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 1312d47ff4..19cacb5d83 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -25,15 +25,10 @@ #include "wx/dcclient.h" #include "wx/menu.h" #include "wx/dialog.h" -#endif // WX_PRECOMP - -#include "wx/control.h" -#if wxUSE_TOOLBAR + #include "wx/control.h" #include "wx/toolbar.h" -#endif -#if wxUSE_STATUSBAR #include "wx/statusbr.h" -#endif +#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(); } // ----------------------------------------------------------------------------