mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
Bug 506151 - MozillaDropShadowWindowClass constant isn't in the defs file. r=vlad.
This commit is contained in:
parent
dab5d81879
commit
63310514c6
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user