in LoadPerspective, if pane wasn't found, just skip it instead of bailing out

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2007-10-09 07:25:29 +00:00
parent 99d8bc6593
commit 88664cda08

View File

@@ -1447,12 +1447,11 @@ bool wxAuiManager::LoadPerspective(const wxString& layout, bool update)
if (!p.IsOk())
{
// the pane window couldn't be found
// in the existing layout
return false;
// in the existing layout -- skip it
continue;
}
p.SafeSet(pane);
}
if (update)