drawsBackground and drawsCellBackground default to NO, to match Cocoa behaviour (and improve theming)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-02-10 21:46:02 +00:00
parent 56ceebba48
commit b74add2d83
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,8 @@
2010-02-10 Riccardo Mottola <rmottola@users.sf.net>
* 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 <ewasylishen@gmail.com>

View file

@ -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)