submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,6 +60,12 @@ public:
|
|||||||
int MacGetIndexFromId( int id ) ;
|
int MacGetIndexFromId( int id ) ;
|
||||||
int MacGetIndexFromItem( wxMenuItem *pItem ) ;
|
int MacGetIndexFromItem( wxMenuItem *pItem ) ;
|
||||||
void MacEnableMenu( bool bDoEnable ) ;
|
void MacEnableMenu( bool bDoEnable ) ;
|
||||||
|
// MacOS needs to know about submenus somewhere within this menu
|
||||||
|
// before it can be displayed , also hide special menu items like preferences
|
||||||
|
// that are handled by the OS
|
||||||
|
void MacBeforeDisplay( bool isSubMenu ) ;
|
||||||
|
// undo all changes from the MacBeforeDisplay call
|
||||||
|
void MacAfterDisplay( bool isSubMenu ) ;
|
||||||
|
|
||||||
// semi-private accessors
|
// semi-private accessors
|
||||||
// get the window which contains this menu
|
// get the window which contains this menu
|
||||||
|
Reference in New Issue
Block a user