X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7816e624f3cc9041de71b4acfe183976624ff833..ba98e032a7d195fc94d3856bcd8f4cf4b4b01b4c:/src/mac/carbon/app.cpp?ds=inline diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 4f1c473465..683d9c7401 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -494,7 +494,8 @@ wxMenu* wxFindMenuFromMacCommand( const HICommand &command , wxMenuItem* &item ) // is it part of the application or the Help menu, then look for the id directly if ( ( GetMenuHandle( kwxMacAppleMenuId ) != NULL && command.menu.menuRef == GetMenuHandle( kwxMacAppleMenuId ) ) || - ( helpMenuHandle != NULL && command.menu.menuRef == helpMenuHandle ) ) + ( helpMenuHandle != NULL && command.menu.menuRef == helpMenuHandle ) || + wxMenuBar::MacGetWindowMenuHMenu() != NULL && command.menu.menuRef == wxMenuBar::MacGetWindowMenuHMenu() ) { wxMenuBar* mbar = wxMenuBar::MacGetInstalledMenuBar() ; if ( mbar )