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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user