]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dummy.cpp
Added $(NEW_WXLIBNAME) to allow changing the library or DLL name
[wxWidgets.git] / src / msw / dummy.cpp
index 5bca45319e501d7c11aef99558735f5547610c4f..4b5d3141e873ee9af2452fe6b848ac19330445aa 100644 (file)
     char wxDummyChar = 0;
 #endif
 
-// if wxWindows is in the DLL link our entry point with the application
-#if defined(WXUSINGDLL)
-
-// NT defines APIENTRY, 3.x not
-#if !defined(APIENTRY)
-    #define APIENTRY FAR PASCAL
-#endif
-
-int
-#ifdef __WATCOMC__
-    PASCAL
-#else
-    APIENTRY
-#endif
-WinMain(HINSTANCE hInstance,
-        HINSTANCE hPrevInstance,
-        LPSTR m_lpCmdLine,
-        int nCmdShow )
-{
-#if !WXUSINGDLL
-    wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF);
-#endif
-
-    return wxEntry((WXHINSTANCE) hInstance, (WXHINSTANCE) hPrevInstance,
-                   m_lpCmdLine, nCmdShow);
-}
-#endif
-
-