]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/uma.cpp
MSW compilation fixes - widgets sample runs!
[wxWidgets.git] / src / mac / uma.cpp
index 044ef97c966d66fbbe52d7e81b3b766160f8e00a..e0e3bdf35f88a621b63cf258ace2b03d3e59860f 100644 (file)
@@ -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