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
parent 22eb784ad2
commit c168937f48

View File

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