]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
When used from wxHtmlListBox it's possible for GetWindow to return NULL.
[wxWidgets.git] / src / generic / prntdlgg.cpp
index ec7a43453cd2a0cdc2738f626ce8687820e36978..19d2d2800c93c77a0ea20942e8e38e85b55dca0b 100644 (file)
@@ -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"