X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/899544330f37440c140b72a014c518a911b5b7a4..910c0f44dc6dbb85c186614db70f920012f19b8f:/src/mac/carbon/printmac.cpp diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 9e45b9e38b..d731e35033 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -509,19 +509,14 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt) } else { -#if TARGET_CARBON - if ( UMAGetSystemVersion() >= 0x1000 ) -#endif - { #if !wxMAC_USE_CORE_GRAPHICS - GrafPtr thePort ; - GetPort( &thePort ) ; + GrafPtr thePort ; + GetPort( &thePort ) ; #endif - wxSafeYield(win,true); + wxSafeYield(win,true); #if !wxMAC_USE_CORE_GRAPHICS - SetPort( thePort ) ; + SetPort( thePort ) ; #endif - } dc->StartPage(); keepGoing = printout->OnPrintPage(pn); dc->EndPage();