dummy.cpp 754 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * File: dummy.cc
  3. * Purpose: See below
  4. * Author: Julian Smart
  5. * Created: 1993
  6. * Updated:
  7. * Copyright: (c) Julian Smart
  8. */
  9. /* A dummy file to include wx.h. If precompiling wx.h, I
  10. * always start by compiling this and producing the PCH file.
  11. * Then subsequent source files use the PCH file.
  12. *
  13. * If precompiling wx.h for wxWidgets and derived apps,
  14. * link dummy.obj with your program (the MSC 7 linker complains otherwise).
  15. *
  16. * This is the only convenient way I found to use precompiled headers
  17. * under MSC 7.
  18. *
  19. * This will produce a big PCH file.
  20. */
  21. /* RN: MSVC Spits out annoying warnings about debug info - tell it to be quiet! */
  22. #ifdef _MSC_VER
  23. #pragma warning(disable : 4786)
  24. #endif // _MSC_VER
  25. #include "testprec.h"