From 8fb8c1950faf201e52bbc66171e2125cc3f722cc Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Mon, 10 Jul 2006 22:22:57 +0000 Subject: [PATCH] dialogs with the default style mask bit set (and only that bit) should have a reasonable window class. b=222488 r=mento --- widget/src/mac/nsMacWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widget/src/mac/nsMacWindow.cpp b/widget/src/mac/nsMacWindow.cpp index 907d26326da..4f260cf9d12 100644 --- a/widget/src/mac/nsMacWindow.cpp +++ b/widget/src/mac/nsMacWindow.cpp @@ -355,10 +355,13 @@ nsresult nsMacWindow::StandardCreate(nsIWidget *aParent, switch (aInitData->mBorderStyle) { case eBorderStyle_none: - case eBorderStyle_default: windowClass = kModalWindowClass; break; + case eBorderStyle_default: + windowClass = kMovableModalWindowClass; + break; + case eBorderStyle_all: windowClass = kDocumentWindowClass; attributes = kWindowCollapseBoxAttribute |