home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / code / wxwin140 / src / dummy.cc next >
Encoding:
C/C++ Source or Header  |  1995-05-19  |  2.0 KB  |  50 lines

  1. /*
  2.  * File:     dummy.cc
  3.  * Purpose:  See below
  4.  *
  5.  *                       wxWindows 1.40
  6.  * Copyright (c) 1993 Artificial Intelligence Applications Institute,
  7.  *                   The University of Edinburgh
  8.  *
  9.  *                     Author: Julian Smart
  10.  *                       Date: 18-4-93
  11.  *
  12.  * Permission to use, copy, modify, and distribute this software and its
  13.  * documentation for any purpose is hereby granted without fee, provided
  14.  * that the above copyright notice, author statement and this permission
  15.  * notice appear in all copies of this software and related documentation.
  16.  *
  17.  * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS,
  18.  * IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
  19.  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  20.  *
  21.  * IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
  22.  * UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
  23.  * CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
  24.  * LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
  25.  * DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
  26.  * THE USE OR PERFORMANCE OF THIS SOFTWARE.
  27.  *
  28.  *
  29.  * A dummy file to include windows.h. If precompiling windows.h, I
  30.  * always start by compiling this and producing the PCH file.
  31.  * Then subsequent source files use the PCH file.
  32.  *
  33.  * If precompiling windows.h for wxWindows and derived apps,
  34.  * link dummy.obj with your program (the linker complains otherwise).
  35.  *
  36.  * This is the only convenient way I found to use precompiled headers
  37.  * under MSC 7.
  38.  *
  39.  * If precompiling wx.h, you won't need to do this. In that case,
  40.  * remove the precompilation switches in src/makefile.unx, and add
  41.  * appropriate precompilation switches to your app. makefile
  42.  * (not forgetting to put a reference to wx.h in ALL sources which need
  43.  * wxWindows support).
  44.  *
  45.  * This will produce a big PCH file since it incorporates
  46.  * windows.h and wx.h.
  47.  */
  48.  
  49. #include <windows.h>
  50.