using callback for menu enabling, allows to benefit from system menu disabling eg for modal dialogs, see #14177
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2f9d199130
commit
9651e41c1c
@ -155,7 +155,6 @@ public :
|
||||
}
|
||||
[menu setDelegate:controller];
|
||||
[m_osxMenu setImplementation:this];
|
||||
[menu setAutoenablesItems:NO];
|
||||
// gc aware
|
||||
if ( m_osxMenu )
|
||||
CFRetain(m_osxMenu);
|
||||
|
Loading…
Reference in New Issue
Block a user