Fix background coloring

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38851 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-08-03 17:56:29 +00:00
parent 91919e85d1
commit ddf97e6fba

View file

@ -462,19 +462,22 @@
- (BOOL) isOpaque
{
#if 0 //TESTPLANT-MAL-MERGE-06202015 - this breaks some drawing...
// FIXME: Depends on theme; if always returning NO is a performance hit
// we can check if GSTheme is going to draw an old-style opaque box
// or not.
return NO;
// if (_box_type == NSBoxCustom)
// {
// return !_transparent;
// }
// else
// {
// return YES;
// }
}
#else
if (_box_type == NSBoxCustom)
{
return !_transparent;
}
else
{
return YES;
}
#endif
}
- (NSColor*) fillColor
{