X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20cd7383dd98604bb3bacb253f832735069799af..aad6765cbd8916ddeb0362b091663138c2e74df3:/include/wx/mac/uma.h diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index 2587f1b2c1..0d4399a04f 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 ///////////////////////////////////////////////////////////////////////////// @@ -14,7 +14,7 @@ #include "wx/mac/private.h" -void UMAInitToolbox( UInt16 inMoreMastersCalls) ; +void UMAInitToolbox( UInt16 inMoreMastersCalls, bool isEmbedded) ; void UMACleanupToolbox() ; long UMAGetSystemVersion() ; bool UMAHasAppearance() ; @@ -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 ) ; @@ -121,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