From 8f47f76dc6456e77c52487f2ef270a8f8d271cbd Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Tue, 30 Mar 1999 05:03:37 +0000 Subject: [PATCH] Tidyup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3993 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 9 ++++++++- Headers/gnustep/gui/NSScrollView.h | 4 ++-- Source/NSScrollView.m | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40b96fee2..8bcf7028b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -Sat Mar 27 05:5800 1999 Richard Frith-Macdonald +Tue Mar 30 05:26:00 1999 Richard Frith-Macdonald + + * Headers/AppKit/NSScroller.h: Modified ([-setContentView:]) and + ([-contentView]) to use NSClipView rather than NSView. + * NSScroller.m: Modified ([-setContentView:]) and ([-contentView]) to + use NSClipView rather than NSView. + +Sat Mar 27 05:58:00 1999 Richard Frith-Macdonald * Source/NSBrowser.m: Override target, setTarget, action, setAction * Headers/AppKit/NSBrowser.h: Add _action and _target ivars. diff --git a/Headers/gnustep/gui/NSScrollView.h b/Headers/gnustep/gui/NSScrollView.h index 5d62ddf55..3c2ce320f 100644 --- a/Headers/gnustep/gui/NSScrollView.h +++ b/Headers/gnustep/gui/NSScrollView.h @@ -77,8 +77,8 @@ - (NSBorderType)borderType; /* Managing the scrolled views */ -- (void)setContentView:(NSView*)aView; -- (NSView*)contentView; +- (void)setContentView:(NSClipView*)aView; +- (NSClipView*)contentView; - (void)setDocumentView:(NSView*)aView; - (id)documentView; - (void)setDocumentCursor:(NSCursor*)aCursor; diff --git a/Source/NSScrollView.m b/Source/NSScrollView.m index f259a2633..4853a3a02 100644 --- a/Source/NSScrollView.m +++ b/Source/NSScrollView.m @@ -181,7 +181,7 @@ static Class rulerViewClass = nil; [super dealloc]; } -- (void) setContentView: (NSView*)aView +- (void) setContentView: (NSClipView*)aView { ASSIGN((id)_contentView, (id)aView); [self addSubview: _contentView]; @@ -632,7 +632,7 @@ static Class rulerViewClass = nil; return [_contentView bounds].size; } -- (NSView*) contentView +- (NSClipView*) contentView { return _contentView; }