X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..e0876d7381ada8459e18fc81a9e47c025778b8ec:/src/xrc/xh_mdi.cpp diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index f87e5141c3..d98e5409f7 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/xrc/xh_mdi.cpp -// Purpose: XRC resource for dialogs +// Purpose: XRC resource for wxMDI // Author: David M. Falkinder & Vaclav Slavik // Created: 14/02/2005 // RCS-ID: $Id$ @@ -18,10 +18,13 @@ #if wxUSE_XRC && wxUSE_MDI #include "wx/xrc/xh_mdi.h" -#include "wx/mdi.h" -#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE -#include "wx/log.h" -#include "wx/intl.h" + +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/log.h" + #include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE + #include "wx/mdi.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxMdiXmlHandler, wxXmlResourceHandler) @@ -133,4 +136,4 @@ bool wxMdiXmlHandler::CanHandle(wxXmlNode *node) IsOfClass(node, wxT("wxMDIChildFrame"))); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_MDI