// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
#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();
#if !defined(_WINDLL)
-#if defined(__TWIN32__) || defined(__WXWINE__) || defined(__WXMICROWIN__)
+#if defined(__TWIN32__) || defined(__WXMICROWIN__)
#define HINSTANCE HANDLE
extern "C"
-#endif // WINE
+#endif
int PASCAL WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,