dbbrowse.dsp dbbrowse.dsw dummy.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			37 lines
		
	
	
		
			902 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			902 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * File:  dummy.cc
 | 
						|
 * Purpose:  See below
 | 
						|
 * Author:  Julian Smart
 | 
						|
 * Created:  1993
 | 
						|
 * Updated:
 | 
						|
 * Copyright:   (c) 1993, AIAI, University of Edinburgh
 | 
						|
 */
 | 
						|
 | 
						|
/* 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
 | 
						|
 |