Fixing bug 303995. Comparing the flags used in version 3.538 of nsWindow.cpp and what we are currently using you see a difference in both the popup and toplevel. This patch reverts my changes and takes us back to a good place. a/r/rs=benjamin

This commit is contained in:
dougt%meer.net 2005-08-09 16:00:08 +00:00
Родитель 6e5deaaff6
Коммит 426e3fba5c
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -5398,9 +5398,7 @@ DWORD nsWindow::WindowStyle()
}
#else
switch (mWindowType) {
case eWindowType_child:
style = WS_OVERLAPPED;
break;
@ -5510,7 +5508,7 @@ DWORD nsWindow::WindowExStyle()
return WS_EX_WINDOWEDGE;
case eWindowType_popup:
return WS_EX_TOOLWINDOW;
return WS_EX_TOPMOST | WS_EX_TOOLWINDOW;
default:
NS_ASSERTION(0, "unknown border style");
@ -5518,7 +5516,7 @@ DWORD nsWindow::WindowExStyle()
case eWindowType_toplevel:
case eWindowType_invisible:
return WS_EX_APPWINDOW | WS_EX_WINDOWEDGE;
return WS_EX_WINDOWEDGE;
}
#endif
}