Absence of perspective configuration no longer triggers assertion
This commit is contained in:
parent
eb33a877d1
commit
5ff1a95df2
@ -87,7 +87,8 @@ public:
|
||||
{
|
||||
// Load perspective string from configuration.
|
||||
wxString persp;
|
||||
wxCHECK(RestoreValue(wxT(wxPERSIST_AUIMGR_PERSPECTIVE), &persp), false);
|
||||
if (!RestoreValue(wxT(wxPERSIST_AUIMGR_PERSPECTIVE), &persp))
|
||||
return false;
|
||||
|
||||
// Update captions (see http://trac.wxwidgets.org/ticket/12528).
|
||||
wxAuiManager* mgr = GetManager();
|
||||
|
Loading…
x
Reference in New Issue
Block a user