X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba8c70bb2e1d05ef944f4aca1b211567357e7b16..b47d37a99fe8b508da762e1fab59e4a42a47d993:/src/mac/printmac.cpp diff --git a/src/mac/printmac.cpp b/src/mac/printmac.cpp index 274f8b1c9e..b7e23a7ac8 100644 --- a/src/mac/printmac.cpp +++ b/src/mac/printmac.cpp @@ -179,11 +179,12 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt) } else { +#if !TARGET_CARBON GrafPtr thePort ; GetPort( &thePort ) ; wxSafeYield(win,true); SetPort( thePort ) ; - +#endif dc->StartPage(); keepGoing = printout->OnPrintPage(pn); dc->EndPage();