1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

VC6 compatibility updates

This commit is contained in:
Julian Storer 2009-12-22 20:59:32 +00:00
parent 24a121e4dd
commit a2183daee5
7 changed files with 32 additions and 44 deletions

View file

@ -430,7 +430,9 @@ void Component::addToDesktop (int styleWanted, void* nativeWindowToAttachTo)
// thread, you'll need to use a MessageManagerLock object to make sure it's thread-safe.
checkMessageManagerIsLocked
if (! isOpaque())
if (isOpaque())
styleWanted &= ~ComponentPeer::windowIsSemiTransparent;
else
styleWanted |= ComponentPeer::windowIsSemiTransparent;
int currentStyleFlags = 0;