diff --git a/ChangeLog b/ChangeLog index c85c65f6a..f95db40bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2010-02-10 Riccardo Mottola * Source/NSSavePanel.m: Do not draw Form background. + * Source/NSMatrix.m: drawsBackground and drawsCellBackground default + to NO, to match Cocoa behaviour (and improve theming) 2010-02-10 Eric Wasylishen diff --git a/Source/NSMatrix.m b/Source/NSMatrix.m index 35a245eef..9e6b6acec 100644 --- a/Source/NSMatrix.m +++ b/Source/NSMatrix.m @@ -312,8 +312,9 @@ static SEL getSel; _tabKeyTraversesCells = YES; [self setBackgroundColor: [NSColor controlBackgroundColor]]; - [self setDrawsBackground: YES]; + [self setDrawsBackground: NO]; [self setCellBackgroundColor: [NSColor controlBackgroundColor]]; + [self setDrawsCellBackground: NO]; [self setSelectionByRect: YES]; _dottedRow = _dottedColumn = -1; if (_mode == NSRadioModeMatrix && _numRows > 0 && _numCols > 0)