X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..05ae668ce491600cd568edbe15618693e63d619c:/src/xrc/xh_mdi.cpp diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index f87e5141c3..35c9cae13a 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -18,10 +18,14 @@ #if wxUSE_XRC && wxUSE_MDI #include "wx/xrc/xh_mdi.h" + +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/log.h" +#endif + #include "wx/mdi.h" #include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE -#include "wx/log.h" -#include "wx/intl.h" IMPLEMENT_DYNAMIC_CLASS(wxMdiXmlHandler, wxXmlResourceHandler) @@ -133,4 +137,4 @@ bool wxMdiXmlHandler::CanHandle(wxXmlNode *node) IsOfClass(node, wxT("wxMDIChildFrame"))); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_MDI