[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with NSPopUpButton.
From: |
Pascal Bourguignon |
Subject: |
Re: Problem with NSPopUpButton. |
Date: |
Fri, 5 Oct 2001 09:07:35 +0200 (CEST) |
> Date: Thu, 04 Oct 2001 19:41:22 +0200
> From: Fred Kiefer <FredKiefer@gmx.de>
>
> are you sure that you are using the latest code from CVS? About one week
> ago I did change this behaviour, so that the action method of a
> popupbutton should only be send by the menu item. So the sender should
> now be a NSMenuItem, which wont implement selectedCell. If there is any
> object that will implement this it is probably NSPopupButton, which
> would mean that the action method on menu items should use this as the
> sender.
> And perhaps on this class selectedCell should be redefined to return the
> cell of the selected menu item. (Which is not hard to do)
> To test this, you should also output the sender itself, so that we know,
> what Openstep and MacOS X are expecting.
No. I'm sure that I'm using code I retrieved some couple of weeks
ago.
Sorry. I'll try with the latest code from CVS now.
--
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------