]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
SourceForge patch #654210 to fix naming/numbering shared libs under OS X
[wxWidgets.git] / src / msw / main.cpp
index 6803110d507b83db10d280311bbdacaef097275b..00736a1394dce0105eaadb95984c6e55762313c7 100644 (file)
 
 #include "wx/msw/private.h"
 
+// Don't implement WinMain if we're building an MFC/wxWindows
+// hybrid app.
+#if wxUSE_MFC && !defined(NOMAIN)
+#define NOMAIN 1
+#endif
+
 // from src/msw/app.cpp
 extern void WXDLLEXPORT wxEntryCleanup();