X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3366d55c57c4f46ce43fac9f28d6207d0a5e6f6e..99c4be680622f58a48a04dfe0835b59d2c41afea:/include/wx/docmdi.h diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 628b685543..828e6a5b6d 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -84,7 +84,7 @@ public: inline wxView *GetView(void) const { return m_childView; } inline void SetDocument(wxDocument *doc) { m_childDocument = doc; } inline void SetView(wxView *view) { m_childView = view; } - bool Destroy() { m_childView = (wxView *)NULL; return wxMDIChildFrame::Destroy(); } + bool Destroy() { m_childView = NULL; return wxMDIChildFrame::Destroy(); } protected: void Init();