git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62806
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- GetDocumentManager()->ActivateView(this, false);
+ if (GetDocumentManager())
+ GetDocumentManager()->ActivateView(this, false);
// reset our frame view first, before removing it from the document as
// SetView(NULL) is a simple call while RemoveView() may result in user
// reset our frame view first, before removing it from the document as
// SetView(NULL) is a simple call while RemoveView() may result in user