2000-07-25 08:15:55 -04:00
|
|
|
/*
|
|
|
|
* File: dummy.cc
|
|
|
|
* Purpose: See below
|
|
|
|
* Author: Julian Smart
|
|
|
|
* Created: 1993
|
|
|
|
* Updated:
|
2003-03-17 09:00:48 -05:00
|
|
|
* Copyright: (c) Julian Smart
|
2000-07-25 08:15:55 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* A dummy file to include wx.h. If precompiling wx.h, I
|
|
|
|
* always start by compiling this and producing the PCH file.
|
|
|
|
* Then subsequent source files use the PCH file.
|
|
|
|
*
|
|
|
|
* If precompiling wx.h for wxWindows and derived apps,
|
|
|
|
* link dummy.obj with your program (the MSC 7 linker complains otherwise).
|
|
|
|
*
|
|
|
|
* This is the only convenient way I found to use precompiled headers
|
|
|
|
* under MSC 7.
|
|
|
|
*
|
|
|
|
* This will produce a big PCH file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
|
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#pragma hdrstop
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#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__) && defined(__WIN16__)
|
|
|
|
char wxDummyChar = 0;
|
|
|
|
#endif
|
|
|
|
|