--- /tmp/test/core/gui/Source/NSText.m Wed Dec 20 12:00:31 2000 +++ NSText.m Tue Dec 4 14:40:43 2001 @@ -57,6 +57,7 @@ #include #include #include +#include #include static Class abstract; @@ -208,7 +209,16 @@ - (void) setBackgroundColor: (NSColor*)color { + NSScrollView *sv; + ASSIGN (_background_color, color); + + sv = [self enclosingScrollView]; + + if (sv != nil) + { + [sv setBackgroundColor: color]; + } } - (void) setDrawsBackground: (BOOL)flag