X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..3684ade82ec6f5fb7ff72341e26060b6ea0793c8:/include/wx/mac/uma.h diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index c59d42cd41..0b665d5d4c 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 03/02/99 -// RCS-ID: $Id: +// RCS-ID: $Id: // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,13 +22,17 @@ long UMAGetAppearanceVersion() ; bool UMAHasWindowManager() ; long UMAGetWindowManagerAttr() ; bool UMAHasAquaLayout() ; + bool UMASystemIsInitialized() ; +void UMASetSystemIsInitialized(bool val); // process manager long UMAGetProcessMode() ; bool UMAGetProcessModeDoesActivateOnFGSwitch() ; +#if wxUSE_GUI + // menu manager MenuRef UMANewMenu( SInt16 id , const wxString& title ) ; @@ -49,8 +53,10 @@ void UMASetMenuItemText( MenuRef menu, MenuItemIndex item, const wx void UMAShowWatchCursor() ; void UMAShowArrowCursor() ; -OSStatus UMAPrOpen(void *macPrintSession) ; -OSStatus UMAPrClose(void *macPrintSession) ; +#if !TARGET_CARBON +OSStatus UMAPrOpen() ; +OSStatus UMAPrClose() ; +#endif // window manager @@ -119,6 +125,8 @@ OSStatus UMAPutScrap( Size size , OSType type , void *data ) ; // calls not in carbon #endif -#define GetWindowUpdateRgn( inWindow , updateRgn ) GetWindowRegion( inWindow , kWindowUpdateRgn, updateRgn ) +#define GetWindowUpdateRgn( inWindow , updateRgn ) GetWindowRegion( inWindow , kWindowUpdateRgn, updateRgn ) + +#endif // wxUSE_GUI #endif