maximize bug fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams 2008-02-08 13:55:57 +00:00
parent 29fbbf8967
commit 3b58a20550

View File

@ -2319,7 +2319,8 @@ wxSizer* wxAuiManager::LayoutAll(wxAuiPaneInfoArray& panes,
LayoutAddDock(middle, *arr.Item(row), uiparts, spacer_only);
}
cont->Add(middle, 1, wxEXPAND);
if (middle->GetChildren().GetCount() > 0)
cont->Add(middle, 1, wxEXPAND);