]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
More updates to the Debian packaging for wxPython, unicode and
[wxWidgets.git] / src / generic / prntdlgg.cpp
index e7a3330a8f851db633d0eb28ac74a5f6804d1fed..19d2d2800c93c77a0ea20942e8e38e85b55dca0b 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "prntdlgg.h"
 #endif
 
@@ -28,7 +28,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_PRINTING_ARCHITECTURE
+#if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXMSW__) || wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"