X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c9fd6e54e3614828715ac11479557fdeacb590d..3c029873c66cfdc0dcbf52958970273435ba02fc:/include/wx/mac/carbon/uma.h diff --git a/include/wx/mac/carbon/uma.h b/include/wx/mac/carbon/uma.h index d51ab20ed2..3d12a552cd 100644 --- a/include/wx/mac/carbon/uma.h +++ b/include/wx/mac/carbon/uma.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: uma.h +// Name: wx/mac/carbon/uma.h // Purpose: Universal MacOS API // Author: Stefan Csomor // Modified by: // Created: 03/02/99 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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 ) ;