I deleted unwillingly a couple of lines in last commits; fixed.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5449 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 1999-12-11 16:39:23 +00:00
parent 788809edca
commit d786d81db3

View file

@ -296,10 +296,14 @@ Class _nspopupbuttonCellClass = 0;
{
NSMenuView *mr = [[cell menu] menuRepresentation];
NSEvent *e;
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
if ([self isEnabled] == NO)
return;
[nc postNotificationName: NSPopUpButtonWillPopUpNotification
object: self];
// Attach the popUp
[cell attachPopUpWithFrame: bounds
inView: self];