mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:11:06 +00:00
expose menu attribute, required for wayland backend submenu
This commit is contained in:
parent
97379423f0
commit
1e670335f6
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,7 @@
|
|||
NSMenu *_the_menu;
|
||||
}
|
||||
- (void) _setmenu: (NSMenu *)menu;
|
||||
- (NSMenu *) menu;
|
||||
@end
|
||||
|
||||
@interface NSMenuView (GNUstepPrivate)
|
||||
|
@ -155,6 +156,10 @@ static BOOL menuBarVisible = YES;
|
|||
{
|
||||
_the_menu = menu;
|
||||
}
|
||||
- (NSMenu *) menu
|
||||
{
|
||||
return _the_menu;
|
||||
}
|
||||
|
||||
- (BOOL) canBecomeKeyWindow
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue