X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bb0cd285ac73fb25396d53f7f52db6f3ca77b63..6f34921d9369a31de14e4b07e4824e2d701710f0:/src/common/docmdi.cpp diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index dcf4e7d460..ecb7b1504c 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -102,7 +102,7 @@ wxDocMDIChildFrame::wxDocMDIChildFrame(wxDocument *doc, wxView *view, wxMDIParen wxDocMDIChildFrame::~wxDocMDIChildFrame(void) { - m_childView = NULL; + m_childView = (wxView *) NULL; } // Extend event processing to search the view's event table @@ -142,8 +142,8 @@ bool wxDocMDIChildFrame::OnClose(void) { m_childView->Activate(FALSE); delete m_childView; - m_childView = NULL; - m_childDocument = NULL; + m_childView = (wxView *) NULL; + m_childDocument = (wxDocument *) NULL; } return ans;