X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..ac8d0c118b7403e2838e75124b442051299e6f6c:/src/msw/printwin.cpp diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 34ce8201a4..094c571fa4 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -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"