Title bar buttons?

I have just upgraded to Yosemite and I noticed that the Spotify app, along with others, while having a custom title bar, they retain the standard OSX min/max/full screen controls in the top left. Is this possible to do with JUCE? It would be great as it would avoid having to emulate the standard OSX controls based on what ever verison of OSX you are running.