X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/uma.h diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index 6a7de05e46..c9172b6c8a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -21,6 +21,7 @@ long UMAGetAppearanceVersion() ; bool UMAHasWindowManager() ; long UMAGetWindowManagerAttr() ; bool UMAHasAquaLayout() ; +bool UMASystemIsInitialized() ; // process manager @@ -53,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 @@ -249,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