X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..6178debcd342963974dbdce6ac2ddb2fbe89e42a:/src/osx/carbon/uma.cpp diff --git a/src/osx/carbon/uma.cpp b/src/osx/carbon/uma.cpp index 3009393821..8606c1196f 100644 --- a/src/osx/carbon/uma.cpp +++ b/src/osx/carbon/uma.cpp @@ -246,12 +246,12 @@ static OSStatus UMAGetHelpMenu( bool allowHelpMenuCreation) { static bool s_createdHelpMenu = false ; - + if ( !s_createdHelpMenu && !allowHelpMenuCreation ) { return paramErr ; } - + OSStatus status = HMGetHelpMenu( outHelpMenu , outFirstCustomItemIndex ) ; s_createdHelpMenu = ( status == noErr ) ; return status ;