Re: Leopard NSTableView Cell and single click editing
Re: Leopard NSTableView Cell and single click editing
- Subject: Re: Leopard NSTableView Cell and single click editing
- From: Stephane Sudre <email@hidden>
- Date: Mon, 26 Nov 2007 18:13:05 +0100
On 26 nov. 07, at 16:47, j o a r wrote:
On Nov 26, 2007, at 7:00 AM, Manfred Schwind wrote:
Problem is: it is not called! It seems to depend on the SDK I link
to; not the system where to app runs on (why?). For various reasons I
can not link against the 10.5 SDK, nor can I use Xcode 3. I am using
Xcode 2.5 and using 10.4u SDK.
This is a commonly used technique for ensuring compatibility with
existing apps that might depend on the old behaviour. For more info,
see the "Backward Compatibility" comments at the top of that same
release note.
Actually, it looks more like a bug in this case.
If the single edit click is enabled on applications linked with the
10.4 SDK (and I tend to believe they are from what I can see), then -
(NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame
ofView:(NSView *)controlView should be called in this case too.
If it's not, then it's a bug.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden