[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSSplitView patch
From: |
Enrico Sersale |
Subject: |
Re: NSSplitView patch |
Date: |
Sat, 15 Feb 2003 19:54:11 +0200 (EET) |
On Sat, 15 Feb 2003, Enrico Sersale wrote:
>
> NSSplitView is broken because, in -mouseDown:, it uses un IMP for the
> delegate method -splitView:constrainSplitPosition:ofSubviewAt: that
> returns a float.
>
> It should be declared something like:
> typedef float (*floatIMP)(id, SEL, id, float, int);
>
> Moreover, actually, the return value of the delegate method is ignored.
>
> This patch fixes the problem.
>
> ...
Excuse me if insist with this, but I'm working, just now, at something
that would need this patch applied.
Please, could somebody take a look at the patch?