From 88664cda087e8bdd72aa8785b1200f988896b1a6 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Tue, 9 Oct 2007 07:25:29 +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/trunk@49104 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 7fd2412a14..c40be51d17 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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) -- 2.50.0