X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a689a4d09a65e3eda2cad1eb34320238b01c8151..e421922f90186d0619a806d277a0a2182e61b5fb:/src/mac/uma.cpp?ds=sidebyside diff --git a/src/mac/uma.cpp b/src/mac/uma.cpp index 044ef97c96..e0e3bdf35f 100644 --- a/src/mac/uma.cpp +++ b/src/mac/uma.cpp @@ -289,10 +289,10 @@ void UMAInsertMenu( MenuRef insertMenu , SInt16 afterId ) int gPrOpenCounter = 0 ; -#if !TARGET_CARBON -OSStatus UMAPrOpen() -#else +#if PM_USE_SESSION_APIS OSStatus UMAPrOpen(PMPrintSession *macPrintPort) +#else +OSStatus UMAPrOpen() #endif { #if !TARGET_CARBON @@ -321,10 +321,10 @@ OSStatus UMAPrOpen(PMPrintSession *macPrintPort) #endif } -#if !TARGET_CARBON -OSStatus UMAPrClose() -#else +#if PM_USE_SESSION_APIS OSStatus UMAPrClose(PMPrintSession *macPrintPort) +#else +OSStatus UMAPrClose() #endif { #if !TARGET_CARBON