X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..006162a9e9312a07bb118db7e16d42ffeb110c87:/src/msw/dummy.cpp diff --git a/src/msw/dummy.cpp b/src/msw/dummy.cpp index 807c6a8b01..c21e7df120 100644 --- a/src/msw/dummy.cpp +++ b/src/msw/dummy.cpp @@ -20,14 +20,6 @@ * 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__ @@ -44,30 +36,3 @@ 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 ) -{ - wxCrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF); - - return wxEntry((WXHINSTANCE) hInstance, (WXHINSTANCE) hPrevInstance, - m_lpCmdLine, nCmdShow); -} -#endif - -