X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/docmdi.h diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 089a328ce4..cd9b1d9b74 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -18,7 +18,7 @@ #include "wx/defs.h" -#if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE +#if wxUSE_MDI_ARCHITECTURE #include "wx/docview.h" #include "wx/mdi.h" @@ -49,6 +49,7 @@ protected: private: DECLARE_CLASS(wxDocMDIParentFrame) DECLARE_EVENT_TABLE() + DECLARE_NO_COPY_CLASS(wxDocMDIParentFrame) }; /* @@ -82,6 +83,7 @@ protected: private: DECLARE_EVENT_TABLE() DECLARE_CLASS(wxDocMDIChildFrame) + DECLARE_NO_COPY_CLASS(wxDocMDIChildFrame) }; #endif