X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3366d55c57c4f46ce43fac9f28d6207d0a5e6f6e..574e1c5a033d169b75fa878759cdade7feddde8b:/include/wx/docmdi.h diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 628b685543..e105fdcd50 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -51,7 +51,7 @@ protected: private: DECLARE_CLASS(wxDocMDIParentFrame) DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxDocMDIParentFrame) + wxDECLARE_NO_COPY_CLASS(wxDocMDIParentFrame); }; /* @@ -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(); @@ -97,7 +97,7 @@ protected: private: DECLARE_EVENT_TABLE() DECLARE_CLASS(wxDocMDIChildFrame) - DECLARE_NO_COPY_CLASS(wxDocMDIChildFrame) + wxDECLARE_NO_COPY_CLASS(wxDocMDIChildFrame); }; #endif