]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dummy.cpp
Added some tentative wxMotif clipboard code; did some file formatting
[wxWidgets.git] / src / msw / dummy.cpp
index 50f5c99001a66b0472e9d73972c35413c24fafb1..e03022c6f50b2daf1c029be8023bffe3725e7cfc 100644 (file)
 #pragma hdrstop
 #endif
 
-// Foils optimizations in Visual C++ (see also wx_main.cc)
+// Foils optimizations in Visual C++ (see also app.cpp). Without it,
+// dummy.obj isn't linked and we get a linker error.
+#if defined(_MSC_VER) && defined(__WIN16__)
 char wxDummyChar=0;
+#endif
 
 #if defined(WXUSINGDLL)