=== modified file 'src/msw/main.cpp'
--- old/src/msw/main.cpp	2006-05-15 06:03:26 +0000
+++ new/src/msw/main.cpp	2007-04-14 08:56:41 +0000
@@ -154,7 +154,7 @@
         case EXCEPTION_EXECUTE_HANDLER:
             // if wxApp::OnFatalException() had been called we should exit the
             // application -- but we shouldn't kill our host when we're a DLL
-#ifndef WXMAKINGDLL
+#ifndef WXMAKINGDLL_CORE
             wxFatalExit();
 #endif // not a DLL
             break;
@@ -411,7 +411,7 @@
     // If only the wxWidgets library is in the DLL, then the
     // initialisation will be called when the application implicitly
     // calls WinMain.
-#ifndef WXMAKINGDLL
+#ifndef WXMAKINGDLL_CORE
     switch (fdwReason)
     {
         case DLL_PROCESS_ATTACH:
@@ -424,7 +424,7 @@
 #else
     (void)hModule;
     (void)fdwReason;
-#endif // !WXMAKINGDLL
+#endif // !WXMAKINGDLL_CORE
 
     return TRUE;
 }

