X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd864f01f2f611a3b30bb261b4edd890f639369a..9386cb75e34acb49cd9fac945e09cf002f22db2d:/src/common/cmndata.cpp diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index d75430ee5d..39e55667e6 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -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"