X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..8e190f0ed9c242e6df5fd4dd99fdaf6c9dea1cda:/src/xrc/xh_frame.cpp?ds=sidebyside diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index d1b7a64227..892a9e38aa 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -18,10 +18,13 @@ #if wxUSE_XRC #include "wx/xrc/xh_frame.h" -#include "wx/frame.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/frame.h" + #include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE +#endif IMPLEMENT_DYNAMIC_CLASS(wxFrameXmlHandler, wxXmlResourceHandler)