From 4b02e5cd2c6d057ab45675aa86a81cc5c68a63ad Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sat, 1 Jul 2000 12:10:37 +0000 Subject: [PATCH] [setAllowsUndo:] and [allowsUndo] now use ivar git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6851 72102866-910b-0410-8b05-ffd578937521 --- Source/NSTextView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 8bc53044c..659f1ae62 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -169,11 +169,12 @@ - (void) setAllowsUndo: (BOOL)flag { + _tf.allows_undo = flag; } - (BOOL) allowsUndo { - return NO; + return _tf.allows_undo; } - (void) setDrawsBackground: (BOOL)flag