зеркало из https://github.com/mozilla/pjs.git
allow popup window types in cocoa widgets (e.g. popup menus). we have to fix them, so might as well turn them on. no bug. sr=pinkerton
This commit is contained in:
Родитель
79c303cbda
Коммит
80603f2c60
|
@ -148,10 +148,6 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
|
|||
if (mWindowType == eWindowType_popup || mWindowType == eWindowType_invisible)
|
||||
features = 0;
|
||||
|
||||
// XXXdwh Just don't make popup windows yet. They mess up the world.
|
||||
if (mWindowType == eWindowType_popup)
|
||||
return NS_OK;
|
||||
|
||||
mWindow = [[NSWindow alloc] initWithContentRect:rect styleMask:features
|
||||
backing:NSBackingStoreBuffered defer:NO];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче