Applied #10356: Duplicate help menu in wxMac as a plugin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -475,7 +475,7 @@ wxMenu* wxFindMenuFromMacCommand( const HICommand &command , wxMenuItem* &item )
|
||||
// make sure it is one of our own menus, or of the 'synthetic' apple and help menus , otherwise don't touch
|
||||
MenuItemIndex firstUserHelpMenuItem ;
|
||||
static MenuHandle mh = NULL ;
|
||||
if ( mh == NULL )
|
||||
if ( mh == NULL && wxMenuBar::MacGetInstalledMenuBar() != NULL )
|
||||
{
|
||||
if ( UMAGetHelpMenu( &mh , &firstUserHelpMenuItem) != noErr )
|
||||
mh = NULL ;
|
||||
|
Reference in New Issue
Block a user