X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7bd26981f1c8d46d3909e3de90df081de4df33b..d1427b705318677afe28b1291867f6930c8823a7:/src/common/docmdi.cpp diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index 245a131de7..dcf4e7d460 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -102,6 +102,7 @@ wxDocMDIChildFrame::wxDocMDIChildFrame(wxDocument *doc, wxView *view, wxMDIParen wxDocMDIChildFrame::~wxDocMDIChildFrame(void) { + m_childView = NULL; } // Extend event processing to search the view's event table