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:
joshmoz%gmail.com 2005-12-15 21:19:17 +00:00
Родитель 79c303cbda
Коммит 80603f2c60
1 изменённых файлов: 0 добавлений и 4 удалений

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

@ -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];