Bug 405899, autoscroll causes window to close, r+sr=roc

This commit is contained in:
enndeakin@sympatico.ca 2007-12-03 06:32:26 -08:00
parent d425613933
commit 6db81a9d91

View File

@ -1370,6 +1370,8 @@ nsWindow::StandardWindowCreate(nsIWidget *aParent,
// only appears above the parent, instead of all windows
if (aParent)
extendedStyle = WS_EX_TOOLWINDOW;
else
parent = NULL;
} else if (nsnull != aInitData) {
// See if the caller wants to explictly set clip children and clip siblings
if (aInitData->clipChildren) {