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:
@@ -155,7 +155,6 @@ public :
|
|||||||
}
|
}
|
||||||
[menu setDelegate:controller];
|
[menu setDelegate:controller];
|
||||||
[m_osxMenu setImplementation:this];
|
[m_osxMenu setImplementation:this];
|
||||||
[menu setAutoenablesItems:NO];
|
|
||||||
// gc aware
|
// gc aware
|
||||||
if ( m_osxMenu )
|
if ( m_osxMenu )
|
||||||
CFRetain(m_osxMenu);
|
CFRetain(m_osxMenu);
|
||||||
|
Reference in New Issue
Block a user