X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e5a4d2032018ad20f8edefcb88db88c71d50ea1..aca78774b6aa0ab27dead3b4b88c0d8e40e5667a:/include/wx/mac/uma.h diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index b242acb961..c9172b6c8a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -54,13 +54,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 +245,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