Use controlShadowColor when the color for NSBoxSeparator is not set. Xcode is not setting colors for these types of boxes in xibs.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@39276 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Paul Landers 2016-01-14 22:25:10 +00:00
parent 911a6c723f
commit 823354b781

View file

@ -3382,7 +3382,12 @@ typedef enum {
if (boxType == NSBoxSeparator)
{
[[box borderColor] set];
color = [box borderColor];
if (!color || [color isEqual:[NSColor clearColor]])
{
color = [NSColor controlShadowColor];
}
[color set];
NSRectFill([box borderRect]);
return;
}