Riccardo Mottola wrote:

The code is considering a NSView (ADPersonPropertyView is a sublass of it) as a NSControl by casting it, this is the problem. The change was done :

29133 wlux NSText *textObject = [(NSControl*)controlView currentEditor];
$ svn log -r29133
---------------------------------------------------------------------- --
r29133 | wlux | 2009-12-17 01:03:07 +0000 (Thu, 17 Dec 2009) | 4 lines

Fix various issues when drawing controls with edited cells. This
includes a fix for the problem of properly resizing and redrawing the
editor when the cell is resized or moved during editing (bug #22678).


I think this needs to be fixed in a better way.

Indeed. I hadn't imagined that somebody would use a text field cell in a view which is not a subclass of NSControl. I have added the (obvious) fix for this issue.

Wolfgang



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to