From a83fb608b99f1ab061e091dc76aeb60c6495cc04 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rivaille Date: Sun, 16 Dec 2001 23:35:06 +0000 Subject: [PATCH] drawInteriorWithFrame: inView: removed the code that drew the background (osx doesn't draw background) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11780 72102866-910b-0410-8b05-ffd578937521 --- Source/NSButtonCell.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/NSButtonCell.m b/Source/NSButtonCell.m index 8284fb6dd..cf4e7d973 100644 --- a/Source/NSButtonCell.m +++ b/Source/NSButtonCell.m @@ -621,6 +621,7 @@ cellFrame = NSOffsetRect(cellFrame, 1., flippedView ? 1. : -1.); } + /* // determine the background color if (mask & (NSChangeGrayCellMask | NSChangeBackgroundCellMask)) { @@ -633,6 +634,7 @@ // set cell's background color [backgroundColor set]; NSRectFill(cellFrame); + */ /* * Determine the image and the title that will be