mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:40:38 +00:00
Various small fixes for windows menu support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5369 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d5d19ed0e7
commit
2243389ba2
4 changed files with 29 additions and 30 deletions
|
@ -580,9 +580,11 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
|||
(frame.size.height - point.y) / cellSize.height;
|
||||
}
|
||||
|
||||
- (void)setNeedsDisplayForItemAtIndex: (int)index
|
||||
- (void) setNeedsDisplayForItemAtIndex: (int)index
|
||||
{
|
||||
[[menuv_itemCells objectAtIndex: index] setNeedsDisplay: YES];
|
||||
NSRect aRect = [self rectOfItemAtIndex: index];
|
||||
|
||||
[self setNeedsDisplayInRect: aRect];
|
||||
}
|
||||
|
||||
- (NSPoint)locationForSubmenu: (NSMenu *)aSubmenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue