X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5301e336fe89f2962c93ff60d69c25ea81dc355..a4c46c19c20ca7717c8c30c4c5b706a31faf42c4:/src/mac/carbon/printmac.cpp diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index f601443a28..f7238e84ce 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -9,19 +9,19 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "printwin.h" #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_PRINTING_ARCHITECTURE + #ifdef __BORLANDC__ #pragma hdrstop #endif -#include "wx/defs.h" - #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/dc.h" @@ -781,3 +781,5 @@ void wxMacPrintPreview::DetermineScaling(void) m_previewScale = 1 ; } + +#endif