]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmndata.cpp
Warning fixes.
[wxWidgets.git] / src / common / cmndata.cpp
index d75430ee5d4d728138cede0256b91da5462c405e..39e55667e6cc21c6fa3c50a3c16c7535cddbcad7 100644 (file)
@@ -258,7 +258,9 @@ bool wxPrintData::Ok() const
     return m_nativeData->Ok();
 }
 
-#if WXWIN_COMPATIBILITY_2_4
+// What should happen here?  wxPostScriptPrintNativeData is not
+// defined unless all this is true on MSW.
+#if WXWIN_COMPATIBILITY_2_4 && wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXMSW__) || wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
 
 #include "wx/generic/prntdlgg.h"