This commit was manufactured by cvs2svn to create tag 'WX_2_2_9'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_2_9@13364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
36
demos/dbbrowse/dummy.cpp
Normal file
36
demos/dbbrowse/dummy.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user