X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d22699b5ebc820af126478d8ef5da4385cef940b..236a9de39afa090fdee3cf91cb5364ceca69e3f8:/include/wx/wxprec.h diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index dbf130b1fb..a1a2a865e0 100644 --- a/include/wx/wxprec.h +++ b/include/wx/wxprec.h @@ -28,7 +28,7 @@ #ifdef WX_PRECOMP // include standard Windows headers -#ifdef __WXMSW__ +#if defined(__WXMSW__) && !wxUSE_MFC #include #include "wx/msw/winundef.h" #endif @@ -36,4 +36,4 @@ // include the most common wx headers #include "wx/wx.h" -#endif // WX_PRECOMP \ No newline at end of file +#endif // WX_PRECOMP