]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
don't treat DFB_TIMEOUT as error in WaitForEventWithTimeout
[wxWidgets.git] / src / gtk / frame.cpp
index f13c3957bceafcc66675080f38b1d07cb1d58961..19cacb5d83659444f53608ad78cbc8f2df99f9af 100644 (file)
     #include "wx/dialog.h"
     #include "wx/control.h"
     #include "wx/toolbar.h"
-#endif // WX_PRECOMP
-
-#if wxUSE_STATUSBAR
     #include "wx/statusbr.h"
-#endif
+#endif // WX_PRECOMP
 
 #include <glib.h>
 #include "wx/gtk/private.h"
@@ -193,9 +190,6 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child )
                          child->m_width,
                          child->m_height );
     }
-
-    // Resize on OnInternalIdle
-    parent->GtkUpdateSize();
 }
 
 // ----------------------------------------------------------------------------