зеркало из https://github.com/mozilla/pjs.git
[BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d
This commit is contained in:
Родитель
f3a5ba8d74
Коммит
bdb41f87b5
|
@ -5377,7 +5377,7 @@ nsCSSFrameConstructor::InitializeSelectFrame(nsFrameConstructorState& aState,
|
|||
widgetData.mWindowType = eWindowType_popup;
|
||||
widgetData.mBorderStyle = eBorderStyle_default;
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
#if defined(XP_MACOSX) || defined(XP_BEOS)
|
||||
static NS_DEFINE_IID(kCPopUpCID, NS_POPUP_CID);
|
||||
view->CreateWidget(kCPopUpCID, &widgetData, nsnull);
|
||||
#else
|
||||
|
|
|
@ -231,7 +231,7 @@ nsMenuPopupFrame::CreateWidgetForView(nsIView* aView)
|
|||
tag = parentContent->Tag();
|
||||
widgetData.mDropShadow = !(tag && tag == nsXULAtoms::menulist);
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
#if defined(XP_MACOSX) || defined(XP_BEOS)
|
||||
static NS_DEFINE_IID(kCPopupCID, NS_POPUP_CID);
|
||||
aView->CreateWidget(kCPopupCID, &widgetData, nsnull, PR_TRUE, PR_TRUE,
|
||||
eContentTypeUI);
|
||||
|
|
Загрузка…
Ссылка в новой задаче