floating views. bug=21966, r=troy, rods, a=brendan
git-svn-id: svn://10.0.0.236/trunk@58504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2181,11 +2181,11 @@ nsListControlFrame::CreateScrollingViewWidget(nsIView* aView, const nsStylePosit
|
||||
{
|
||||
if (IsInDropDownMode() == PR_TRUE) {
|
||||
nsWidgetInitData widgetData;
|
||||
aView->SetZIndex(kMaxZ);
|
||||
// aView->SetZIndex(kMaxZ);
|
||||
aView->SetFloating(PR_TRUE);
|
||||
widgetData.mWindowType = eWindowType_popup;
|
||||
widgetData.mBorderStyle = eBorderStyle_default;
|
||||
|
||||
|
||||
#ifdef XP_MAC
|
||||
static NS_DEFINE_IID(kCPopUpCID, NS_POPUP_CID);
|
||||
aView->CreateWidget(kCPopUpCID, &widgetData, nsnull);
|
||||
|
||||
Reference in New Issue
Block a user