X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/750b78ba359e7d30c7d3ad49d268923e986268cb..68ad65f8569c6fef3a3fb906becaaf161c77fb85:/src/msw/dummy.cpp diff --git a/src/msw/dummy.cpp b/src/msw/dummy.cpp index dda57b7e3b..4b5d3141e8 100644 --- a/src/msw/dummy.cpp +++ b/src/msw/dummy.cpp @@ -44,35 +44,3 @@ char wxDummyChar = 0; #endif -// if wxWindows is in the DLL link our entry point with the application -// N.B. see include/wx/app.h, we're now putting this in IMPLEMENT_APP so we -// don't have to link our apps with dummy.obj. - -#if 0 // 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 - -