|
From: | Richard Frith-Macdonald |
Subject: | Re: NSTextField |
Date: | Thu, 27 Jun 2002 19:02:25 +0100 |
On Thursday, June 27, 2002, at 04:29 PM, David.Ayers@brainag.com wrote:
Ok Ok OkI did it again, the disable and enableFlushesWindows musted be paired (so thecounter is already there. Therefor a disable/enable in sendEvent: case NSLeftMouseDown: .... if (_f.has_closed == NO) { + [self disableFlushesWindow]; if (_f.is_key == NO) ... { [self mouseDown: theEvent]; } + [self enableFlushesWindow]; } will do the trick. I'll test it once I get home.
Sounds like you have a/the solution to the problem. I remember when working on the flush suppression code, wondering when it would ever be useful. I don't think it is currently used (certainly not much), so don't assume it is bug-free as it won't have
been well tested.
[Prev in Thread] | Current Thread | [Next in Thread] |