Improvements for notebooks on various versions of GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-11-25 07:42:11 +00:00
parent 3bef6c4cf3
commit ba4e365239
8 changed files with 114 additions and 106 deletions

View File

@@ -186,15 +186,6 @@ bool wxFrame::Show( bool show )
if (show && !m_sizeSet)
{
// this yield call is required for a configure event
// to be sent by GTK to its windows. this will among
// others prompt all GtkScrolledWidgets to calculate
// if they need scrollbars which in turn is required
// for wxWindows to calculate the client size of its
// windows.
wxYield();
// by calling GtkOnSize here, we don't have to call
// either after showing the frame, which would entail
// much ugly flicker nor from within the size_allocate