[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NSButton sendActionOn:]
From: |
Fred Kiefer |
Subject: |
Re: [NSButton sendActionOn:] |
Date: |
Fri, 28 Jul 2006 22:57:23 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060527) |
Hi Marc,
I always thought that these lines are wrong, but as nobody did complain
I left them in. They have been in the GNUstep code for quite some time now.
What is the example that is failing you? And an even better question,
why didn't you report it on Savannah in the web interface? :-)
I will change it anyway, as this is the missing bit of a clean up I
started on the 19th of March, 2003.
Cheers
Fred
Marc Brünink schrieb:
> Hi all,
>
> [NSButton sendActionOn:] does not work at all. This is because of
>
> if ([_cell isContinuous])
> {
> oldActionMask = [_cell sendActionOn: NSPeriodicMask];
> }
> else
> {
> oldActionMask = [_cell sendActionOn: 0];
> }
>
> in [NSControl mouseDown:]. If I comment these lines out and kill the
> last 3 lines of the method
> //[_cell sendActionOn: oldActionMask];
>
> // if (mouseUp)
> // [self sendAction: [self action] to: [self target]];
>
> everything works as expected. Why does NSControl just ignore my settings
> and resets everything back to 0 before handling the event?
>
> Please send me a CC.
>
>
> Thanks
> Marc
>
>
>
> _______________________________________________
> Bug-gnustep mailing list
> Bug-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-gnustep
>
>