X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e5a4d2032018ad20f8edefcb88db88c71d50ea1..5fd588d2298a44428ac66bef1e4d9fc73e18d4fd:/include/wx/mac/uma.h?ds=inline diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index b242acb961..7709e2a12a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -16,6 +16,7 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls) ; void UMACleanupToolbox() ; +long UMAGetSystemVersion() ; bool UMAHasAppearance() ; long UMAGetAppearanceVersion() ; bool UMAHasWindowManager() ; @@ -54,13 +55,8 @@ void UMAInsertMenuItem( MenuRef menu , StringPtr label , MenuItemIndex item , 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 +OSStatus UMAPrOpen(void *macPrintSession) ; +OSStatus UMAPrClose(void *macPrintSession) ; // window manager @@ -250,6 +246,7 @@ OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState ) ; #define SetListSelectionFlags( list , options ) (**list).selFlags = options #define GetListRefCon( list ) (**list).refCon */ +#define GetApplicationScript() smSystemScript #else // calls not in carbon