]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dummy.cpp
Various dummy.cpp centralized in common/dummy.cpp. Build rebaked.
[wxWidgets.git] / src / common / dummy.cpp
diff --git a/src/common/dummy.cpp b/src/common/dummy.cpp
new file mode 100644 (file)
index 0000000..db74ef7
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * File:        src/common/dummy.cpp
+ * 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,
+ * always start by compiling this and producing the PCH file.
+ * Then subsequent source files use the PCH file.
+ *
+ * If precompiling wx.h for wxWidgets and derived apps,
+ * link dummy.obj with your program.
+ *
+ * This will produce a big PCH file.
+ */
+
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
+#ifdef __WXMSW__
+    #include "wx/msw/msvcrt.h"
+#endif
+
+#ifdef __VISAGECPP__
+    char wxDummyChar = 0;
+#endif