]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/uma.h
wxFrame for wxUniv
[wxWidgets.git] / include / wx / mac / uma.h
index 01885e751968e5cc68fbc39740d83db8f269cb0a..ed8cc1997fc27acbcc0ca1f62f5029e0ce1bd51f 100644 (file)
 #define UMA_USE_8_6 1 
 #endif
 
-#if defined(__POWERPC__) || defined(__APPLE__)
+#if defined(__POWERPC__)
     #define UMA_USE_APPEARANCE 1
     #define UMA_USE_WINDOWMGR 1
-    #if defined(__APPLE__)
+    #if defined(__DARWIN__)
         #include <Carbon/Carbon.h>
     #endif
 #else
@@ -82,9 +82,9 @@ void                  UMADrawMenuBar() ;
 void                   UMAShowWatchCursor() ;
 void                   UMAShowArrowCursor() ;
 
-#if PM_USE_SESSION_APIS
-OSStatus               UMAPrOpen(PMPrintSession *macPrintPort) ;
-OSStatus               UMAPrClose(PMPrintSession *macPrintPort) ;
+#if TARGET_CARBON && PM_USE_SESSION_APIS
+OSStatus               UMAPrOpen(PMPrintSession *macPrintSession) ;
+OSStatus               UMAPrClose(PMPrintSession *macPrintSession) ;
 #else
 OSStatus               UMAPrOpen() ;
 OSStatus               UMAPrClose() ;