* Source/NSClipView.m (-setBounds:, -setBoundsSize:): Mark the

documentView as needing redisplay. Fixes #40776.
        Based on patch by Jeff Teunissen <deek@d2dc.net>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37429 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-12-03 22:18:04 +00:00
parent ab576bf677
commit 4a61340345
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2013-12-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSClipView.m (-setBounds:, -setBoundsSize:): Mark the
documentView as needing redisplay. Fixes #40776.
Based on patch by Jeff Teunissen <deek@d2dc.net>.
2013-12-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSThemeDrawing.m (-drawScrollViewRect:inView:): Use

View file

@ -239,15 +239,15 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
- (void) setBounds: (NSRect)b
{
// FIXME: Shouldn't the document view be marked as needing a redraw?
[super setBounds: b];
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
[_super_view reflectScrolledClipView: self];
}
- (void) setBoundsSize: (NSSize)aSize
{
// FIXME: Shouldn't the document view be marked as needing a redraw?
[super setBoundsSize: aSize];
[_documentView setNeedsDisplayInRect: [self documentVisibleRect]];
[_super_view reflectScrolledClipView: self];
}