X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c4e8f384d7c9a2e1f31e9602917f2d1318de01f..3eeefdf9bdc41618a14a8fff96a016004b030e95:/include/wx/mac/carbon/uma.h?ds=sidebyside diff --git a/include/wx/mac/carbon/uma.h b/include/wx/mac/carbon/uma.h index 6fc10b6120..23bb3d31ce 100644 --- a/include/wx/mac/carbon/uma.h +++ b/include/wx/mac/carbon/uma.h @@ -18,8 +18,8 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls, bool isEmbedded) ; void UMACleanupToolbox() ; long UMAGetSystemVersion() ; -bool UMASystemIsInitialized() ; -void UMASetSystemIsInitialized(bool val); +WXDLLIMPEXP_BASE bool UMASystemIsInitialized(); +WXDLLIMPEXP_BASE void UMASetSystemIsInitialized(bool val); // process manager @@ -50,7 +50,7 @@ void UMAShowArrowCursor() ; // window manager -GrafPtr UMAGetWindowPort( WindowRef inWindowRef ) ; +WXDLLIMPEXP_BASE GrafPtr UMAGetWindowPort( WindowRef inWindowRef ) ; void UMADisposeWindow( WindowRef inWindowRef ) ; void UMASetWTitle( WindowRef inWindowRef , const wxString& title , wxFontEncoding encoding) ; @@ -94,10 +94,17 @@ bool UMAIsWindowModal( WindowRef inWindow ) ; void UMAHighlightAndActivateWindow( WindowRef inWindowRef , bool inActivate ) ; +// Retrieves the Help menu handle. Warning: As a side-effect this functions also +// creates the Help menu if it didn't exist yet. OSStatus UMAGetHelpMenu( MenuRef * outHelpMenu, MenuItemIndex * outFirstCustomItemIndex); /* can be NULL */ +// Same as UMAGetHelpMenu, but doesn't create the Help menu if UMAGetHelpMenu hasn't been called yet. +OSStatus UMAGetHelpMenuDontCreate( + MenuRef * outHelpMenu, + MenuItemIndex * outFirstCustomItemIndex); /* can be NULL */ + // Appearance Drawing OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState ) ;