X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..5fd588d2298a44428ac66bef1e4d9fc73e18d4fd:/include/wx/mac/uma.h?ds=sidebyside diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index 6a7de05e46..7709e2a12a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -16,11 +16,13 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls) ; void UMACleanupToolbox() ; +long UMAGetSystemVersion() ; bool UMAHasAppearance() ; long UMAGetAppearanceVersion() ; bool UMAHasWindowManager() ; long UMAGetWindowManagerAttr() ; bool UMAHasAquaLayout() ; +bool UMASystemIsInitialized() ; // process manager @@ -53,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 @@ -249,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