X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bba5e72ad3129a1c5660a7089c50865bc93be1a6..3cfde7c049bddf6fd3b4c2e35a6b8ecdcdc1d74f:/src/common/docmdi.cpp diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index 72930bbaaf..cca56168cb 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -97,8 +97,8 @@ END_EVENT_TABLE() void wxDocMDIChildFrame::Init() { - m_childDocument = (wxDocument*) NULL; - m_childView = (wxView*) NULL; + m_childDocument = NULL; + m_childView = NULL; } wxDocMDIChildFrame::wxDocMDIChildFrame() @@ -130,7 +130,7 @@ bool wxDocMDIChildFrame::Create(wxDocument *doc, wxView *view, wxMDIParentFrame wxDocMDIChildFrame::~wxDocMDIChildFrame(void) { - m_childView = (wxView *) NULL; + m_childView = NULL; } bool wxDocMDIChildFrame::TryValidator(wxEvent& event) @@ -160,8 +160,8 @@ void wxDocMDIChildFrame::OnCloseWindow(wxCloseEvent& event) { m_childView->Activate(false); delete m_childView; - m_childView = (wxView *) NULL; - m_childDocument = (wxDocument *) NULL; + m_childView = NULL; + m_childDocument = NULL; this->Destroy(); }