]>
git.saurik.com Git - wxWidgets.git/blob - src/msw/dummy.cpp
7 * Copyright: (c) 1993, AIAI, University of Edinburgh
10 /* static const char sccsid[] = "@(#)dummy.cc 1.2 5/9/94"; */
12 /* A dummy file to include wx.h. If precompiling wx.h, I
13 * always start by compiling this and producing the PCH file.
14 * Then subsequent source files use the PCH file.
16 * If precompiling wx.h for wxWindows and derived apps,
17 * link dummy.obj with your program (the MSC 7 linker complains otherwise).
19 * This is the only convenient way I found to use precompiled headers
22 * This will produce a big PCH file.
27 #if defined(__BORLANDC__)
28 #if !(defined(__WIN32__) || defined(__NT__) || defined(__WIN32__))
29 #pragma hdrfile "c:\wx\src\msw\wx.pch"
35 #include "wx/wxprec.h"
42 // Foils optimizations in Visual C++ (see also wx_main.cc)
45 #if defined(WXUSINGDLL)
47 // NT defines APIENTRY, 3.x not
48 #if !defined(APIENTRY)
49 #define APIENTRY FAR PASCAL
58 WinMain(HINSTANCE hInstance
, HINSTANCE hPrevInstance
, LPSTR m_lpCmdLine
,
61 return wxEntry((WXHINSTANCE
) hInstance
, (WXHINSTANCE
) hPrevInstance
, m_lpCmdLine
, nCmdShow
);