OSX 10.7 Gamma problem

Hello

I had a problem with gamma for my Carbon app in OSX 10.6, UI looked “blotched”
With Pappis’ help it was solved, here are details

http://forum.openframeworks.cc/t/osx-10.6-gamma-problem/6404/1

However, the trick with HIWindowSetColorSpace does not work in OSX 10.7 Lion
Looking for solutions again

Thanks
Tom