diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index 85990ed350..e760e1f1f9 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -89,6 +89,12 @@ #endif /* __GNUWIN32__ */ +/* wxUSE_MFC is not defined when using configure as it doesn't make sense for + gcc or mingw32 anyhow */ +#ifndef wxUSE_MFC + #define wxUSE_MFC 0 +#endif /* !defined(wxUSE_MFC) */ + /* MFC duplicates these operators */ #if wxUSE_MFC # undef wxUSE_GLOBAL_MEMORY_OPERATORS