зеркало из https://github.com/mozilla/pjs.git
Bug 506151 - MozillaDropShadowWindowClass constant isn't in the defs file. r=vlad.
This commit is contained in:
Родитель
6e51c59578
Коммит
d11e691c60
|
@ -770,8 +770,6 @@ LPCWSTR nsWindow::WindowClass()
|
|||
// Return the proper popup window class
|
||||
LPCWSTR nsWindow::WindowPopupClass()
|
||||
{
|
||||
const LPCWSTR className = L"MozillaDropShadowWindowClass";
|
||||
|
||||
if (!nsWindow::sIsPopupClassRegistered) {
|
||||
WNDCLASSW wc;
|
||||
|
||||
|
@ -784,7 +782,7 @@ LPCWSTR nsWindow::WindowPopupClass()
|
|||
wc.hCursor = NULL;
|
||||
wc.hbrBackground = mBrush;
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszClassName = className;
|
||||
wc.lpszClassName = kClassNameDropShadow;
|
||||
|
||||
nsWindow::sIsPopupClassRegistered = ::RegisterClassW(&wc);
|
||||
if (!nsWindow::sIsPopupClassRegistered) {
|
||||
|
|
|
@ -190,6 +190,7 @@ const LPCWSTR kClassNameContent = L"MozillaContentWindowClass";
|
|||
const LPCWSTR kClassNameContentFrame = L"MozillaContentFrameWindowClass";
|
||||
const LPCWSTR kClassNameGeneral = L"MozillaWindowClass";
|
||||
const LPCWSTR kClassNameDialog = L"MozillaDialogClass";
|
||||
const LPCWSTR kClassNameDropShadow = L"MozillaDropShadowWindowClass";
|
||||
|
||||
static const PRUint32 sModifierKeyMap[][3] = {
|
||||
{ nsIWidget::CAPS_LOCK, VK_CAPITAL, 0 },
|
||||
|
|
Загрузка…
Ссылка в новой задаче