X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387a3b02e02d91da6c5d4331b667d835e32c83b0..3c1866e88fb77fc7e0b349cc15f6cebf0f727a9d:/include/wx/docmdi.h diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 43c4d9d871..0216cacdd7 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -16,6 +16,10 @@ #pragma interface "docmdi.h" #endif +#include "wx/defs.h" + +#if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE + #include "wx/docview.h" #include "wx/mdi.h" @@ -23,7 +27,7 @@ * Use this instead of wxMDIParentFrame */ -class wxDocMDIParentFrame: public wxMDIParentFrame +class WXDLLEXPORT wxDocMDIParentFrame: public wxMDIParentFrame { DECLARE_CLASS(wxDocMDIParentFrame) public: @@ -79,5 +83,8 @@ DECLARE_EVENT_TABLE() }; +#endif + // wxUSE_MDI_ARCHITECTURE + #endif // _WX_DOCMDI_H_