]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/uma.h
don't process VK_OEM_XXX key presses
[wxWidgets.git] / include / wx / mac / uma.h
index fd2017069ecd2a410fcc2514b5312f6dc7be279a..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,8 +82,13 @@ void                 UMADrawMenuBar() ;
 void                   UMAShowWatchCursor() ;
 void                   UMAShowArrowCursor() ;
 
+#if TARGET_CARBON && PM_USE_SESSION_APIS
+OSStatus               UMAPrOpen(PMPrintSession *macPrintSession) ;
+OSStatus               UMAPrClose(PMPrintSession *macPrintSession) ;
+#else
 OSStatus               UMAPrOpen() ;
 OSStatus               UMAPrClose() ;
+#endif
 
 // window manager