зеркало из https://github.com/mozilla/gecko-dev.git
Make widget tests work again, normalize widget api on UNIX and Win, and
add start of platform LAF interface.
This commit is contained in:
Родитель
e56171c730
Коммит
d850348fc1
|
@ -345,11 +345,11 @@ nsresult nsView :: Init(nsIViewManager* aManager,
|
|||
if (NS_OK == LoadWidget(*aWindowCIID))
|
||||
{
|
||||
if (aNative)
|
||||
mWindow->Create(aNative, trect, ::HandleEvent, dx, nsnull, aWidgetInitData);
|
||||
mWindow->Create(aNative, trect, ::HandleEvent, dx, nsnull, nsnull, aWidgetInitData);
|
||||
else
|
||||
{
|
||||
nsIWidget *parent = GetOffsetFromWidget(nsnull, nsnull);
|
||||
mWindow->Create(parent, trect, ::HandleEvent, dx, nsnull, aWidgetInitData);
|
||||
mWindow->Create(parent, trect, ::HandleEvent, dx, nsnull, nsnull, aWidgetInitData);
|
||||
NS_IF_RELEASE(parent);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче