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())
|
if (!p.IsOk())
|
||||||
{
|
{
|
||||||
// the pane window couldn't be found
|
// the pane window couldn't be found
|
||||||
// in the existing layout
|
// in the existing layout -- skip it
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.SafeSet(pane);
|
p.SafeSet(pane);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (update)
|
if (update)
|
||||||
|
Reference in New Issue
Block a user