Fix Aero-Glass on panels (round 2) for bug 451300 r=vlad

This commit is contained in:
Rob Arnold 2008-10-01 02:05:27 -04:00
Родитель ff09e103ae
Коммит 371cfa442b
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -5534,7 +5534,9 @@ DWORD nsWindow::WindowStyle()
case eWindowType_popup:
if (mTransparencyMode == eTransparencyGlass) {
style = WS_OVERLAPPED;
/* Glass seems to need WS_CAPTION or WS_THICKFRAME to work.
WS_THICKFRAME has issues with autohiding popups but looks better */
style = WS_POPUP | WS_THICKFRAME;
} else {
style = WS_OVERLAPPED | WS_POPUP;
}