From 1149bfedc9923466f6b98dbceb1b668a74b76b22 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Tue, 9 Oct 2007 07:22:11 +0000 Subject: [PATCH] in LoadPerspective, if pane wasn't found, just skip it instead of bailing out git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/framemanager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 0098d1a396..c2f2699435 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -1446,12 +1446,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)