|
From: | Wolfgang Lux |
Subject: | Re: NSMenuView patch (was: Re: Question about NSMenuView) |
Date: | Fri, 16 Jan 2009 16:51:46 +0100 |
I Wolfgang Lux wrote:
Matt Rice wrote:could have swore i attachedAfter a quick test, I'd say that GNUstep should adopt the patch from foo2.diff as it gets the handling of pull down menus with -usesItemFromMenu == YES right (i.e., the way it is done by Apple).
Arrgggh, hit the Send button too early. While Matt's patch does indeed get the case for -usesItemFromMenu == YES right, it looks like we nevertheless need a different patch. Apparently, the first item of the menu of a NSPopUpButton cell configured as pull down menu never appears in the menu. Yet, I guess that any such patch will cause compatibility problems with existing .gorm files whose NSPopUpButtons may assume that the item at index zero is a real menu item. Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |