]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/printmac.cpp
build fixes
[wxWidgets.git] / src / mac / carbon / printmac.cpp
index 9e45b9e38b3214d7d8fd906ed243b8743e864c7a..d731e35033d0cda2f8761cad647588b5e0565dd0 100644 (file)
@@ -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();