// default resizing behaviour - if only ONE subwindow, resize to fill the
// whole client area
-void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
+void wxTopLevelWindowBase::DoLayout()
{
// if we're using constraints or sizers - do use them
if ( GetAutoLayout() )