Big Sur Transparency

I have some old code that is still in juce 5. Can someone give me a quick fix to the juce 5 source to make transparent windows be transparent on Big Sur.

This can be seen in the DemoRunner>WindowsDemo>Show Windows example.

Also take a look at the DemoRunner CallOutBox on Big Sur.
The background is white.


is probably the fix you’re after.

Thanks for the help.
After much trial and error I found this fixes the problem if MAC_OS_X_VERSION_10_14 is defined. This code change was already in Juce 5.

Run Juce 5 DemoRunner>DialogDemo>CallOutBox and the problem is obvious.