* Source/NSClipView.m (-setDocumentView:): Don't take the

background colour from the document view.
  Patch by Jeff Teunissen <deek@d2dc.net>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-12-07 20:55:26 +00:00
parent 004c87b9a5
commit 73b1e01475
2 changed files with 6 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSClipView.m (-setDocumentView:): Don't take the
background colour from the document view.
Patch by Jeff Teunissen <deek@d2dc.net>.
2013-12-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSThemeDrawing.m (-drawScrollViewRect:inView:): Use the

View file

@ -180,16 +180,6 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
df = [_documentView frame];
[self setBoundsOrigin: df.origin];
if ([aView respondsToSelector: @selector(backgroundColor)])
{
[self setBackgroundColor: [(id)aView backgroundColor]];
}
if ([aView respondsToSelector: @selector(drawsBackground)])
{
[self setDrawsBackground: [(id)aView drawsBackground]];
}
/* Register for notifications sent by the document view */
[_documentView setPostsFrameChangedNotifications: YES];
[_documentView setPostsBoundsChangedNotifications: YES];