X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbac6cad787b978b1fbdd116043e37a1de66945a..606b005fb2b535b34d1ca45d2d06ee86718e8b1c:/src/msw/dummy.cpp?ds=sidebyside diff --git a/src/msw/dummy.cpp b/src/msw/dummy.cpp index 5bca45319e..4829376c7c 100644 --- a/src/msw/dummy.cpp +++ b/src/msw/dummy.cpp @@ -20,56 +20,17 @@ * This will produce a big PCH file. */ -#if defined(__BORLANDC__) -#if !(defined(__WIN32__) || defined(__NT__) || defined(__WIN32__)) -#pragma hdrfile "c:\wx\src\msw\wx.pch" -#endif - -#pragma hdrstart -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif -#include - #include "wx/msw/msvcrt.h" // Foils optimizations in Visual C++ (see also app.cpp). Without it, // dummy.obj isn't linked and we get a linker error. -#if defined(__VISUALC__) +#if defined(__VISUALC__) && defined(__WIN16__) 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 - -