mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:40:53 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h: Added new method
declaration for updateAllWindowsWithMenu: * Source/GSThemeMenu.m: Added default implementation of updateAllWindowsWithMenu: * Source/NSMenu.m: Added call to updateAllWindowsWithMenu: on current theme. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29445 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f886235d70
commit
94ea683223
4 changed files with 45 additions and 0 deletions
|
@ -94,5 +94,10 @@
|
|||
{
|
||||
// default implementation of this method does nothing.
|
||||
}
|
||||
|
||||
- (void) updateAllWindowsWithMenu: (NSMenu *) menu
|
||||
{
|
||||
// default implementation of this method does nothing.
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
#include "AppKit/NSAttributedString.h"
|
||||
|
||||
#include "GSGuiPrivate.h"
|
||||
#include "GNUstepGUI/GSTheme.h"
|
||||
|
||||
/*
|
||||
Drawing related:
|
||||
|
@ -1064,6 +1065,8 @@ static BOOL menuBarVisible = YES;
|
|||
{
|
||||
[w setMenu: self];
|
||||
}
|
||||
|
||||
[[GSTheme theme] updateAllWindowsWithMenu: self];
|
||||
}
|
||||
}
|
||||
if (_delegate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue