X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d46359178b28cd86e189e877015a8e69ff5bbaa..0d6fba37931bde89e7161ff173e2f818e4b15ac0:/src/mac/carbon/printmac.cpp?ds=sidebyside diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 606e813946..d731e35033 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -509,17 +509,14 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt) } else { - if ( UMAGetSystemVersion() >= 0x1000 ) - { #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();