]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printwin.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / printwin.cpp
index 34ce8201a4dc0d7eeea3acf0ea519f86b5ebd685..094c571fa4307803a4f2aaa3c70faec4207c0df8 100644 (file)
@@ -30,7 +30,9 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_PRINTING_ARCHITECTURE
+// Don't use the Windows printer if we're in wxUniv mode and using
+// the PostScript architecture
+#if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
 
 #ifndef WX_PRECOMP
     #include "wx/window.h"