Keyboard focus handling fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5264 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-11-23 14:11:14 +00:00
parent f6a85c5407
commit 9f320dec44
4 changed files with 175 additions and 38 deletions

View file

@ -472,8 +472,10 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
accumulatedOffset += neededKeyEquivalentWidth + menuv_horizontalEdgePad;
// Calculate frame size.
#if 0
if (![menuv_menu _isBeholdenToPopUpButton])
cellSize.width = accumulatedOffset + 3; // Add the border width
#endif
[self setFrameSize: NSMakeSize(cellSize.width + 1, howHigh)];