Black object in viewport

i use the boolean operator with two objects and i got realtively good results

But the resultatnt object appears black when in wireframe mode
in solid mode it has the color i gave it - fine it’s ok
but why is it black in wireframe mode ?

i solved it - i had to seperate all things with alt -p then everyrthing was bak to normal
Thanks anyway