From: Włodzimierz Skiba Date: Fri, 10 Sep 2004 13:24:20 +0000 (+0000) Subject: Some unnecessary wxUSE_MFC occurences removed following Vadim's experience (see wx... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/43a6124f651fe08a8f8a9529e5d495017ebd62b7?ds=sidebyside Some unnecessary wxUSE_MFC occurences removed following Vadim's experience (see wx-dev on 6.8.2004). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index b05ad2b35c..5e34e7089c 100644 --- a/include/wx/wxprec.h +++ b/include/wx/wxprec.h @@ -20,7 +20,7 @@ defined(__DIGITALMARS__) || \ defined(__WATCOMC__) ) ) || \ defined(__VISAGECPP__) || \ - defined(__MWERKS__) + defined(__MWERKS__) #if !defined(NOPCH) #define WX_PRECOMP @@ -39,7 +39,7 @@ #include "wx/wxchar.h" // include standard Windows headers -#if defined(__WXMSW__) && !wxUSE_MFC +#if defined(__WXMSW__) #include "wx/msw/wrapwin.h" #endif diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 7568e9878f..12feee5bdf 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -34,11 +34,6 @@ #include "wx/msw/private.h" -// Don't implement WinMain if we're building an MFC/wxWidgets hybrid app. -#if wxUSE_MFC && !defined(NOMAIN) - #define NOMAIN 1 -#endif - #ifdef __BORLANDC__ // BC++ has to be special: its run-time expects the DLL entry point to be // named DllEntryPoint instead of the (more) standard DllMain