Don't emit bogus size events if a child window
is inserted into a frame or dialog. I don't know why I wrote that non-sense back then, but wxMSW doesn't do it either. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,9 +190,6 @@ static void wxInsertChildInFrame( wxFrame* parent, wxWindow* child )
|
||||
child->m_width,
|
||||
child->m_height );
|
||||
}
|
||||
|
||||
// Resize on OnInternalIdle
|
||||
parent->GtkUpdateSize();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user