Bug 412954 - "menus should have Menu, PopupMenu or DropdownMenu window type" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=beltzner]
This commit is contained in:
@@ -207,6 +207,7 @@ nsMenuPopupFrame::CreateWidgetForView(nsIView* aView)
|
||||
widgetData.mWindowType = eWindowType_popup;
|
||||
widgetData.mBorderStyle = eBorderStyle_default;
|
||||
widgetData.clipSiblings = PR_TRUE;
|
||||
widgetData.mPopupHint = mPopupType;
|
||||
|
||||
PRBool viewHasTransparentContent = !mInContentShell &&
|
||||
nsLayoutUtils::FrameHasTransparency(this);
|
||||
|
||||
Reference in New Issue
Block a user